v0.6.0: fixed an errant -1 in screen config chooser
This commit is contained in:
parent
fab0e02711
commit
c254e03596
|
@ -125,7 +125,7 @@ public class ScreenConfigChooser implements GLSurfaceView.EGLConfigChooser {
|
|||
|
||||
private EGLConfig chooseConfig( EGLConfig[] configs ){
|
||||
EGLConfig bestConfig = null;
|
||||
int bestConfigValue = -1;
|
||||
int bestConfigValue = Integer.MIN_VALUE;
|
||||
for (EGLConfig curConfig : configs){
|
||||
|
||||
int curConfigValue = 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user