Changeset d8cb15e in opengl-game for opengl-game.hpp


Ignore:
Timestamp:
Aug 30, 2019, 7:30:53 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
5529ab5
Parents:
d5f2b42
Message:

Implement GetError() in game-gui-glfw and start using game-gui-glfw in opengl-game to show a window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opengl-game.hpp

    rd5f2b42 rd8cb15e  
    33
    44#include "game-gui-glfw.hpp"
     5
     6const int SCREEN_WIDTH = 800;
     7const int SCREEN_HEIGHT = 600;
    58
    69class OpenGLGame {
     
    1215
    1316   private:
     17      GameGui* gui;
     18      GLFWwindow* window;
     19
     20      bool initWindow();
     21      void initOpenGL();
     22      void mainLoop();
     23      void cleanup();
    1424};
    1525
Note: See TracChangeset for help on using the changeset viewer.