Java Code Examples for org.lwjgl.opengl.Util#checkGLError()
The following examples show how to use
org.lwjgl.opengl.Util#checkGLError() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: LwjglAbstractDisplay.java From jmonkeyengine with BSD 3-Clause "New" or "Revised" License | 5 votes |
protected boolean checkGLError() { try { Util.checkGLError(); } catch (OpenGLException ex){ listener.handleError("An OpenGL error has occurred!", ex); } // NOTE: Always return true since this is used in an "assert" statement return true; }
Example 2
Source File: LwjglOffscreenBuffer.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 5 votes |
protected boolean checkGLError(){ try { Util.checkGLError(); } catch (OpenGLException ex){ listener.handleError("An OpenGL error has occured!", ex); } // NOTE: Always return true since this is used in an "assert" statement return true; }
Example 3
Source File: LwjglAbstractDisplay.java From MikuMikuStudio with BSD 2-Clause "Simplified" License | 5 votes |
protected boolean checkGLError(){ try { Util.checkGLError(); } catch (OpenGLException ex){ listener.handleError("An OpenGL error has occured!", ex); } // NOTE: Always return true since this is used in an "assert" statement return true; }