Changeset 5edbd58 in opengl-game for opengl-game.hpp
- Timestamp:
- Sep 2, 2019, 5:23:40 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 301d0d4
- Parents:
- 2beb6c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opengl-game.hpp
r2beb6c7 r5edbd58 3 3 4 4 #include "game-gui-glfw.hpp" 5 6 const int SCREEN_WIDTH = 800;7 const int SCREEN_HEIGHT = 600;8 5 9 6 class OpenGLGame { … … 12 9 ~OpenGLGame(); 13 10 14 void run( );11 void run(unsigned int width, unsigned int height, unsigned char guiFlags); 15 12 16 13 private: … … 18 15 GLFWwindow* window; 19 16 20 bool initWindow( );17 bool initWindow(unsigned int width, unsigned int height, unsigned char guiFlags); 21 18 void initOpenGL(); 22 19 void mainLoop();
Note:
See TracChangeset
for help on using the changeset viewer.