The Gaming Industry

26
Mar 2020

Android Native Handling Orientation Change

Hey All,

I’ve been working on a android game and I set it up as entirely a native activity using native app glue. When my app gets a configuration change event or window resize event, I query EGL/Native Window for the new render width/height. My expectation is that when I rotate my phone, the width and height values will swap but they do not change and my rendering surface gets corrupted. My question is, do I have to recreate the native window or EGL surface or EGLContext or all of the

Powered by WPeMatico

Tags are not defined
Comments are closed.