aboutsummaryrefslogtreecommitdiffstats
path: root/include/window.hpp
blob: d245b33ebc1a801cad2a8621215112107656f16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef WINDOW_HPP
#define WINDOW_HPP

#include <SDL2/SDL.h>

constexpr auto WINDOW_WIDTH  = 640;
constexpr auto WINDOW_HEIGHT = 480;

extern SDL_Window *window;
extern SDL_Renderer *renderer;

int sdl2Initialize();
SDL_Texture *sdl2LoadTexture(const char *path);

#endif // WINDOW_HPP