VK: Added swap chain pre-rotation on Android. Closes #3473, #4089.

This commit is contained in:
Бранимир Караџић
2026-10-25 21:29:40 -07:00
parent fe9bbdec66
commit 6fe85c10ee
3 changed files with 250 additions and 15 deletions
+5
View File
@@ -248,6 +248,11 @@ namespace entry
case APP_CMD_WINDOW_RESIZED:
// Command from main thread: the current ANativeWindow has been resized.
// Please redraw with its new size.
if (NULL != m_window)
{
WindowHandle defaultWindow = { 0 };
m_eventQueue.postSizeEvent(defaultWindow, ANativeWindow_getWidth(m_window), ANativeWindow_getHeight(m_window) );
}
break;
case APP_CMD_WINDOW_REDRAW_NEEDED: