Changeset 8667f76 in opengl-game for game-gui-sdl.cpp
- Timestamp:
- Jul 19, 2019, 9:49:52 PM (5 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-sdl.cpp
r0e6ecf3 r8667f76 37 37 RTWO_SUCCESS : RTWO_ERROR; 38 38 } 39 40 vector<const char*> GameGui_SDL::GetRequiredExtensions() { 41 uint32_t extensionCount = 0; 42 SDL_Vulkan_GetInstanceExtensions(window, &extensionCount, nullptr); 43 44 vector<const char*> extensions(extensionCount); 45 SDL_Vulkan_GetInstanceExtensions(window, &extensionCount, extensions.data()); 46 47 return extensions; 48 } 49 50 void GameGui_SDL::GetWindowSize(int* width, int* height) { 51 SDL_GetWindowSize(window, width, height); 52 }
Note:
See TracChangeset
for help on using the changeset viewer.