Changeset 92cbc6a in opengl-game for opengl-game.hpp


Ignore:
Timestamp:
Sep 15, 2019, 5:37:50 AM (5 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
c1d9b2a
Parents:
a6f6833
Message:

In openglgame, initialize OpenGL using glew, register the OpenGL debug callback, and clear the screen to black

File:
1 edited

Legend:

Unmodified
Added
Removed
  • opengl-game.hpp

    ra6f6833 r92cbc6a  
    2121};
    2222
     23void APIENTRY opengl_debug_callback(
     24   GLenum source,
     25   GLenum type,
     26   GLuint id,
     27   GLenum severity,
     28   GLsizei length,
     29   const GLchar* message,
     30   const void* userParam
     31);
     32
    2333#endif // _OPENGL_GAME_H
Note: See TracChangeset for help on using the changeset viewer.