Changeset cd487fb in opengl-game for vulkan-game.cpp
- Timestamp:
- Nov 12, 2019, 9:48:50 PM (5 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- b8777b7
- Parents:
- e3bef3a
- git-author:
- Dmitry Portnoy <dmitry.portnoy@…> (11/12/19 21:25:58)
- git-committer:
- Dmitry Portnoy <dmitry.portnoy@…> (11/12/19 21:48:50)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vulkan-game.cpp
re3bef3a rcd487fb 165 165 return RTWO_ERROR; 166 166 } 167 168 SDL_SetRenderTarget(renderer, uiOverlay); 167 169 168 170 return RTWO_SUCCESS; … … 333 335 334 336 void VulkanGame::renderUI() { 335 // TODO: Since I currently don't use any other render targets,336 // I may as well set this once before the render loop337 SDL_SetRenderTarget(renderer, uiOverlay);338 339 337 SDL_SetRenderDrawColor(renderer, 0x00, 0x00, 0x00, 0x00); 340 338 SDL_RenderClear(renderer);
Note:
See TracChangeset
for help on using the changeset viewer.