Requests that GDK create an OpenGL ES context instead of an OpenGL one.
Not all platforms support OpenGL ES.
The context must not have been realized.
By default, GDK will attempt to automatically detect whether the underlying GL implementation is OpenGL or OpenGL ES once the context is realized.
You should check the return value of gdk.glcontext.GLContext.getUseEs after calling gdk.glcontext.GLContext.realize to decide whether to use the OpenGL or OpenGL ES API, extensions, or shaders.
whether the context should use OpenGL ES instead of OpenGL, or -1 to allow auto-detection
Requests that GDK create an OpenGL ES context instead of an OpenGL one.
Not all platforms support OpenGL ES.
The context must not have been realized.
By default, GDK will attempt to automatically detect whether the underlying GL implementation is OpenGL or OpenGL ES once the context is realized.
You should check the return value of gdk.glcontext.GLContext.getUseEs after calling gdk.glcontext.GLContext.realize to decide whether to use the OpenGL or OpenGL ES API, extensions, or shaders.