 | glGetError Method |
Returns the last error that happened.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static glError GetError()
Public Shared Function GetError As glError
public:
static glError GetError()
static member GetError : unit -> glError
Return Value
Type:
glErrorThe last error that happened.
Remarks
You usually don't need to call this method yourself since all OpenGL calls are error checked automatically when compiling in DEBUG mode with Assertions enabled.
OpenGL API: glGetError
See Also