Package org.lwjgl.opengl
Class KHRNoError
- java.lang.Object
-
- org.lwjgl.opengl.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
.
-
-
Field Summary
Fields Modifier and Type Field and Description static int
GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR
If set inCONTEXT_FLAGS
, then no error behavior is enabled for this context.
-
-
-
Field Detail
-
GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR
public static final int GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR
If set inCONTEXT_FLAGS
, then no error behavior is enabled for this context.- See Also:
- Constant Field Values
-
-