set display mode to 0 as per review
This commit is contained in:
parent
c1a3cf7e9b
commit
a1cd6e3973
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user