MiniB3D on Android

Joined
Jul 3, 2017
Likes
4
#1
I was experimenting with miniB3D on Android - and everything seemed really fine... until I got a warning on screen about something.

Obviously the game was suspended, and when it returned, the screen was blank. The game was still running on the background (I could hear sounds), but nothing shows on screen.

In the logs, I could find this: E/ViewRootImpl( 762): sendUserActionEvent() mView == null - don't know if its related.

Have anyone found similar issue? If so, how to fix this?
 
Joined
Jul 3, 2017
Likes
4
#2
Found a workaround: copied this from the source into "OnResume":

Code:
        Graphics3DInit ()
        ReloadAllSurfaces ()
        ReloadAllTextures ()
        TShader.ResetDefaultShader()
And now it works as it should :)
 
Top Bottom