OpenGL.runtimeCheck

Checks pending OpenGL errors.

class OpenGL
bool
runtimeCheck
@trusted nothrow
(
string file = __FILE__
,
int line = __LINE__
)

Return Value

Type: bool

true if at least one OpenGL error was pending. OpenGL error status is cleared.

Meta