Changeset c6fec84 in opengl-game
- Timestamp:
- Sep 16, 2019, 6:42:19 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 90a424f
- Parents:
- f133da0
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-sdl.cpp
rf133da0 rc6fec84 142 142 143 143 bool GameGui_SDL::createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) { 144 return SDL_Vulkan_CreateSurface(window, instance, surface) ? 145 RTWO_SUCCESS : RTWO_ERROR; 144 return SDL_Vulkan_CreateSurface(window, instance, surface) ? RTWO_SUCCESS : RTWO_ERROR; 146 145 } 147 146 -
makefile
rf133da0 rc6fec84 14 14 endif 15 15 ifeq ($(OS),Linux) 16 DEP = -lglfw3 -lGLEW -lGL -ldl -lX11 -lXrandr -lXxf86vm -lXinerama -lXcursor 16 DEP = -lglfw3 -lGLEW -lGL -ldl -lX11 -lXrandr -lXxf86vm -lXinerama -lXcursor -pthread 17 17 endif 18 18 … … 25 25 $(CC) $^ $(DEP) $(CFLAGS) -o $@ 26 26 27 openglgame: main-opengl.cpp opengl-game.cpp crash-logger.cpp logger.cpp game-gui-glfw.cpp 28 $(CC) $^ $(DEP) $(CFLAGS) -o $@ 27 openglgame: main-opengl.cpp opengl-game.cpp crash-logger.cpp logger.cpp game-gui-glfw.cpp imgui_impl_glfw_gl3.cpp $(IMGUI_FILES) 28 $(CC) $^ $(DEP) $(CFLAGS) -o $@ -DGLEW_STATIC 29 29 30 30 CXX_FLAGS = -std=c++17 -Wall -pedantic# -O3 -rdynamic -
opengl-game.cpp
rf133da0 rc6fec84 119 119 break; 120 120 case UI_EVENT_KEY: 121 cout << "Got a key event" << endl;122 121 if (e.key.keycode == GLFW_KEY_ESCAPE) { 123 122 quit = true;
Note:
See TracChangeset
for help on using the changeset viewer.