Package dev.prozilla.pine.common.opengl
Class GLUtils
java.lang.Object
dev.prozilla.pine.common.opengl.GLUtils
OpenGL utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getErrorString
(int errorCode) Translates an OpenGL error code to a string describing the error.
-
Constructor Details
-
GLUtils
public GLUtils()
-
-
Method Details
-
getErrorString
Translates an OpenGL error code to a string describing the error. Source: GLUtil.java.- Parameters:
errorCode
- The error code, as returned byGL11.glGetError()
- Returns:
- The error description.
-