Top Description Fields Constructors Methods
org.lwjgl.opengl

public final Class KHRNoError

extends Object
Class Inheritance

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

Modifier and TypeField and Description
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.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_CONTEXT_FLAG_NO_ERROR_BIT_KHRback to summary
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.

Constructor Detail

KHRNoErrorback to summary
private KHRNoError()