Package org.jzy3d.plot3d.pipelines
Class GLErrorReader
java.lang.Object
org.jzy3d.plot3d.pipelines.GLErrorReader
This utility allows checking the GL2 error bit after a call to a GL2 command.
When an error is detected, a textual information is printed out in console.
- Author:
- Martin Pernollet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
getAndPrintError
(com.jogamp.opengl.GL gl) If an error occured, print it.static void
getAndPrintError
(com.jogamp.opengl.GL gl, String info) If an error occured, print it and add an information string at the following line.
-
Constructor Details
-
GLErrorReader
public GLErrorReader()
-
-
Method Details
-
getAndPrintError
If an error occured, print it and add an information string at the following line. -
getAndPrintError
public static boolean getAndPrintError(com.jogamp.opengl.GL gl) If an error occured, print it.
-