Changeset 3de31cf in opengl-game for opengl-game.cpp
- Timestamp:
- Oct 3, 2019, 3:46:06 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- ee75487
- Parents:
- 7d2b0b9
- git-author:
- Dmitry Portnoy <dmp1488@…> (10/03/19 03:45:53)
- git-committer:
- Dmitry Portnoy <dmp1488@…> (10/03/19 03:46:06)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opengl-game.cpp
r7d2b0b9 r3de31cf 103 103 // Otherwise, it seems they get overridden by ImGui 104 104 ((GameGui_GLFW*)gui)->bindEventHandlers(); 105 106 graphicsPipelines.push_back(GraphicsPipeline_OpenGL()); 107 graphicsPipelines.back().createPipeline("gl-shaders/ship.vert", "gl-shaders/ship.frag"); 108 109 graphicsPipelines.push_back(GraphicsPipeline_OpenGL()); 110 graphicsPipelines.back().createPipeline("gl-shaders/asteroid.vert", "gl-shaders/asteroid.frag"); 111 112 graphicsPipelines.push_back(GraphicsPipeline_OpenGL()); 113 graphicsPipelines.back().createPipeline("gl-shaders/laser.vert", "gl-shaders/laser.frag"); 114 115 graphicsPipelines.push_back(GraphicsPipeline_OpenGL()); 116 graphicsPipelines.back().createPipeline("gl-shaders/explosion.vert", "gl-shaders/explosion.frag"); 117 118 cout << "Created " << graphicsPipelines.size() << " graphics pipelines" << endl; 105 119 } 106 120
Note:
See TracChangeset
for help on using the changeset viewer.