SDL: yet another Android 2.3 fix
This commit is contained in:
@@ -354,7 +354,7 @@ public class MainActivity extends Activity
|
||||
mGLView = new DemoGLSurfaceView(this);
|
||||
SetLayerType.get().setLayerType(mGLView);
|
||||
// Add TV screen borders, if needed
|
||||
if( Globals.TvBorders )
|
||||
if( isRunningOnOUYA() && Globals.TvBorders )
|
||||
{
|
||||
RelativeLayout view = new RelativeLayout(this);
|
||||
RelativeLayout.LayoutParams layout;
|
||||
|
||||
Reference in New Issue
Block a user