Changeset 8667f76 in opengl-game for game-gui-glfw.cpp
- Timestamp:
- Jul 19, 2019, 9:49:52 PM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 80edd70
- Parents:
- 0e6ecf3
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (07/19/19 21:45:27)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (07/19/19 21:49:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-glfw.cpp
r0e6ecf3 r8667f76 26 26 RTWO_SUCCESS : RTWO_ERROR; 27 27 } 28 29 vector<const char*> GameGui_GLFW::GetRequiredExtensions() { 30 uint32_t glfwExtensionCount = 0; 31 const char** glfwExtensions; 32 33 glfwExtensions = glfwGetRequiredInstanceExtensions(&glfwExtensionCount); 34 35 vector<const char*> extensions(glfwExtensions, glfwExtensions + glfwExtensionCount); 36 37 return extensions; 38 } 39 40 void GameGui_GLFW::GetWindowSize(int* width, int* height) { 41 glfwGetFramebufferSize(window, width, height); 42 }
Note:
See TracChangeset
for help on using the changeset viewer.