SDL: yet another Android 2.3 fix

This commit is contained in:
Sergii Pylypenko
2016-07-07 19:23:21 +03:00
parent e3e01c0dcc
commit ea704ddbb4
6 changed files with 7 additions and 7 deletions

View File

@@ -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;