Project

General

Profile

« Previous | Next » 

Revision 60fdf71d

Added by Leszek Koltunski almost 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/library/main/DistortedLibrary.java
822 822
///////////////////////////////////////////////////////////////////////////////////////////////////
823 823
/**
824 824
 * Return OpenGL ES version supported by the hardware we are running on.
825
 * There are only two possibilities: 300 (OpenGL ES 3.0) or 310 (at least OpenGL ES 3.1)
825
 * There are only three possibilities: 300 (OpenGL ES 3.0) or 310 (at least OpenGL ES 3.1)
826
 * or 200 (OpenGL ES 2.0)
826 827
 */
827
  static int getGLSL()
828
  public static int getGLSL()
828 829
    {
829 830
    return mGLSL;
830 831
    }

Also available in: Unified diff