mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
Added UI RenderTexture
This commit is contained in:
@@ -60,6 +60,7 @@ SDL_AppResult GameApplication::handleInputEvent(SDL_Event* event) {
|
||||
m_windowManager->setFullscreen(input.isFullscreen);
|
||||
// 改变窗口时清理旧的缓存
|
||||
if (event->type == SDL_EVENT_WINDOW_PIXEL_SIZE_CHANGED) {
|
||||
m_windowManager->onWindowResize();
|
||||
m_textRenderer->clearCache();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user