SDL: new API SDL_ANDROID_SetConfigOption() to configure SDL Android-specific options, such as video depth (which requires app restart)
This commit is contained in:
@@ -942,6 +942,11 @@ class DemoRenderer extends GLSurfaceView_SDL.Renderer
|
||||
System.exit(0);
|
||||
}
|
||||
|
||||
public void setConfigOptionFromSDL(int option, int value)
|
||||
{
|
||||
Settings.setConfigOptionFromSDL(option, value);
|
||||
}
|
||||
|
||||
private int PowerOf2(int i)
|
||||
{
|
||||
int value = 1;
|
||||
|
||||
Reference in New Issue
Block a user