Changeset 484334e in opengl-game for sdl-game.cpp
- Timestamp:
- Feb 14, 2021, 3:50:35 PM (4 years ago)
- Branches:
- feature/imgui-sdl
- Children:
- 81869ef
- Parents:
- 7734042
- git-author:
- Dmitry Portnoy <dportnoy@…> (02/14/21 15:48:29)
- git-committer:
- Dmitry Portnoy <dportnoy@…> (02/14/21 15:50:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sdl-game.cpp
r7734042 r484334e 169 169 170 170 if (shouldRecreateSwapChain) { 171 int width, height; 172 SDL_GetWindowSize(window, &width, &height); 171 gui->refreshWindowSize(); 172 173 int width = gui->getWindowWidth(); 174 int height = gui->getWindowHeight(); 173 175 if (width > 0 && height > 0) { 174 176 // TODO: This should be used if the min image count changes, presumably because a new surface was created
Note:
See TracChangeset
for help on using the changeset viewer.