Java Code Examples for org.lwjgl.opengl.ARBShaderObjects#glGetInfoLogARB()

The following examples show how to use org.lwjgl.opengl.ARBShaderObjects#glGetInfoLogARB() . 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: ShaderUtil.java    From Cyberware with MIT License 4 votes vote down vote up
private static String getLogInfo(int obj)
{
	return ARBShaderObjects.glGetInfoLogARB(obj, ARBShaderObjects.glGetObjectParameteriARB(obj, ARBShaderObjects.GL_OBJECT_INFO_LOG_LENGTH_ARB));
}
 
Example 2
Source File: Renderer.java    From FEMultiplayer with GNU General Public License v3.0 4 votes vote down vote up
private static String getLogInfo(int obj) {
    return ARBShaderObjects.glGetInfoLogARB(obj, 
    		ARBShaderObjects.glGetObjectParameteriARB(obj,
    				ARBShaderObjects.GL_OBJECT_INFO_LOG_LENGTH_ARB));
}
 
Example 3
Source File: ShaderHelper.java    From OpenModsLib with MIT License 4 votes vote down vote up
@Override
public String getProgramLogInfo(int program) {
	return ARBShaderObjects.glGetInfoLogARB(program, glGetProgrami(program, GL20.GL_INFO_LOG_LENGTH));
}
 
Example 4
Source File: ShaderHelper.java    From OpenModsLib with MIT License 4 votes vote down vote up
@Override
public String getShaderLogInfo(int shader) {
	return ARBShaderObjects.glGetInfoLogARB(shader, glGetShaderi(shader, GL20.GL_INFO_LOG_LENGTH));
}
 
Example 5
Source File: Renderer.java    From FEMultiPlayer-V2 with GNU General Public License v3.0 2 votes vote down vote up
/**
 * Gets the log info.
 *
 * @param obj the obj
 * @return the log info
 */
private static String getLogInfo(int obj) {
       return ARBShaderObjects.glGetInfoLogARB(obj, 
       		ARBShaderObjects.glGetObjectParameteriARB(obj,
       				ARBShaderObjects.GL_OBJECT_INFO_LOG_LENGTH_ARB));
   }