mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
[Android] Make a field a local variable in DisplayRefreshRateTest. It's not used elsewhere, so this is safe.
This commit is contained in:
parent
95539090ec
commit
3579319573
@ -107,13 +107,11 @@ public final class DisplayRefreshRateTest extends Activity {
|
||||
}
|
||||
}
|
||||
|
||||
private GLSurfaceView surfaceView;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
Toast.makeText(this, R.string.touch_screen_with_fingers, Toast.LENGTH_LONG).show();
|
||||
surfaceView = new GLSurfaceView(this);
|
||||
final GLSurfaceView surfaceView = new GLSurfaceView(this);
|
||||
surfaceView.setEGLContextClientVersion(2);
|
||||
surfaceView.setRenderer(new Renderer(this));
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
|
Loading…
x
Reference in New Issue
Block a user