Class KHRNoError

  • public final class KHRNoError
    extends java.lang.Object
    Native bindings to the KHR_no_error extension.

    With this extension enabled any behavior that generates a GL error will have undefined behavior. The reason this extension exists is performance can be increased and power usage decreased. When this mode is used, a GL driver can have undefined behavior where it would have generated a GL error without this extension. This could include application termination. In general this extension should be used after you have verified all the GL errors are removed, and an application is not the kind that would check for GL errors and adjust behavior based on those errors.

    Requires OpenGL 2.0.

    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail


        public static final int GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR
        If set in CONTEXT_FLAGS, then no error behavior is enabled for this context.
        See Also:
        Constant Field Values