Changeset 2e77b3f in opengl-game
- Timestamp:
- Sep 14, 2019, 12:29:44 AM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- c559904
- Parents:
- cabdd5c
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (09/14/19 00:27:26)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (09/14/19 00:29:44)
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main-opengl.cpp
rcabdd5c r2e77b3f 17 17 18 18 int __main(int argc, char* argv[]) { 19 20 #ifdef NDEBUG21 cout << "DEBUGGING IS OFF" << endl;22 #else23 cout << "DEBUGGING IS ON" << endl;24 #endif25 26 19 cout << "Starting OpenGL Game..." << endl; 27 20 -
main-vulkan.cpp
rcabdd5c r2e77b3f 17 17 18 18 int __main(int argc, char* argv[]) { 19 20 #ifdef NDEBUG21 cout << "DEBUGGING IS OFF" << endl;22 #else23 cout << "DEBUGGING IS ON" << endl;24 #endif25 26 19 cout << "Starting Vulkan Game..." << endl; 27 20 -
opengl-game.cpp
rcabdd5c r2e77b3f 4 4 5 5 #include "consts.hpp" 6 7 #include "game-gui-glfw.hpp"8 6 9 7 using namespace std; … … 18 16 19 17 void OpenGLGame::run(int width, int height, unsigned char guiFlags) { 18 #ifdef NDEBUG 19 cout << "DEBUGGING IS OFF" << endl; 20 #else 21 cout << "DEBUGGING IS ON" << endl; 22 #endif 23 24 cout << "OpenGL Game" << endl; 25 20 26 if (initWindow(width, height, guiFlags) == RTWO_ERROR) { 21 27 return; -
vulkan-game.cpp
rcabdd5c r2e77b3f 16 16 17 17 void VulkanGame::run(int width, int height, unsigned char guiFlags) { 18 cout << "DEBUGGING IS " << (ENABLE_VALIDATION_LAYERS ? "ON" : "OFF") << endl; 19 20 cout << "Vulkan Game" << endl; 21 18 22 if (initWindow(width, height, guiFlags) == RTWO_ERROR) { 19 23 return; -
vulkan-game.hpp
rcabdd5c r2e77b3f 3 3 4 4 #include "game-gui-sdl.hpp" 5 6 #ifdef NDEBUG 7 const bool ENABLE_VALIDATION_LAYERS = false; 8 #else 9 const bool ENABLE_VALIDATION_LAYERS = true; 10 #endif 5 11 6 12 class VulkanGame {
Note:
See TracChangeset
for help on using the changeset viewer.