set display mode to 0 as per review

This commit is contained in:
Bradlee Barnes 2026-05-04 17:13:34 +00:00 committed by GitHub
parent c1a3cf7e9b
commit a1cd6e3973
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -465,13 +465,10 @@ void SetWindowSize(int width, int height)
CORE.Window.screen.width = width; CORE.Window.screen.width = width;
CORE.Window.screen.height = height; CORE.Window.screen.height = height;
EGLint displayFormat = 0;
eglGetConfigAttrib(platform.device, platform.config, EGL_NATIVE_VISUAL_ID, &displayFormat);
ANativeWindow_setBuffersGeometry(platform.app->window, ANativeWindow_setBuffersGeometry(platform.app->window,
CORE.Window.render.width + CORE.Window.renderOffset.x, CORE.Window.render.width + CORE.Window.renderOffset.x,
CORE.Window.render.height + CORE.Window.renderOffset.y, CORE.Window.render.height + CORE.Window.renderOffset.y,
displayFormat); 0);
} }
// Set window opacity, value opacity is between 0.0 and 1.0 // Set window opacity, value opacity is between 0.0 and 1.0