Searched refs:logLength (Results 1 – 1 of 1) sorted by relevance
/development/ndk/sources/android/ndk_helper/ |
D | shader.cpp | 93 GLint logLength; in CompileShader() local 94 glGetShaderiv( *shader, GL_INFO_LOG_LENGTH, &logLength ); in CompileShader() 95 if( logLength > 0 ) in CompileShader() 97 GLchar *log = (GLchar *) malloc( logLength ); in CompileShader() 98 glGetShaderInfoLog( *shader, logLength, &logLength, log ); in CompileShader() 149 GLint logLength; in LinkProgram() local 150 glGetProgramiv( prog, GL_INFO_LOG_LENGTH, &logLength ); in LinkProgram() 151 if( logLength > 0 ) in LinkProgram() 153 GLchar *log = (GLchar *) malloc( logLength ); in LinkProgram() 154 glGetProgramInfoLog( prog, logLength, &logLength, log ); in LinkProgram() [all …]
|