9 * The "Screen" class handles managing the OS window (using SDL2).
17 // 'Pumps' the system event queue.
18 // Returns 'false' if the program should quit.
21 // Finishes rendering a frame, and presents it on the screen.
24 // Get the current width/height of the window's viewport.
25 int ViewportWidth() { return m_viewport_width; }
26 int ViewportHeight() { return m_viewport_height; }
28 void ResizeViewport(int width, int height);
31 int m_viewport_height;
33 SDL_GLContext m_gl_context;