Project

General

Profile

« Previous | Next » 

Revision d17073f0

Added by Leszek Koltunski over 4 years ago

Only show the OpenGL Error dialog when the underlying hardwarre does not support OpenGL ES 3.0.

View differences:

src/main/java/org/distorted/main/RubikRenderer.java
112 112
          crashlytics.recordException(ex);
113 113
          }
114 114

  
115
        RubikActivity act = (RubikActivity)mView.getContext();
116
        act.OpenGLError(message);
115
        int glsl = DistortedLibrary.getGLSL();
116

  
117
        if( glsl< 300 )
118
          {
119
          RubikActivity act = (RubikActivity)mView.getContext();
120
          act.OpenGLError(message);
121
          }
117 122
        }
118 123
      }
119 124

  

Also available in: Unified diff