v0.6.0: fixed an errant -1 in screen config chooser

This commit is contained in:
Evan Debenham 2017-05-29 14:12:02 -04:00
parent fab0e02711
commit c254e03596

View File

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