|
|
|
@ -22,13 +22,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
// forward declarations
|
|
|
|
// forward declarations
|
|
|
|
|
|
|
|
|
|
|
|
struct SDL_Handles |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
SDL_Window *window; |
|
|
|
|
|
|
|
SDL_GLContext glContext; |
|
|
|
|
|
|
|
SDL_DisplayMode currentDisplayMode; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool createWindow(const char* title, |
|
|
|
bool createWindow(const char* title, |
|
|
|
SDL_Handles* handles, |
|
|
|
SDL_Handles* handles, |
|
|
|
glm::vec2& viewport_dims); |
|
|
|
glm::vec2& viewport_dims); |
|
|
|
|