Lines Matching refs:infoLog
163 GLboolean GGLShaderCompile(gl_shader * shader, const char * glsl, const char ** infoLog)
171 if (infoLog)
172 *infoLog = shader->InfoLog;
177 const char * glsl, const char ** infoLog)
185 return GGLShaderCompile(shader, glsl, infoLog);
257 GLboolean GGLShaderProgramLink(gl_shader_program * program, const char ** infoLog)
260 if (infoLog)
261 *infoLog = program->InfoLog;
280 static GLboolean ShaderProgramLink(gl_shader_program * program, const char ** infoLog)
282 return GGLShaderProgramLink(program, infoLog);
626 *params = shader->InfoLog ? strlen(shader->InfoLog) + 1 : 0;
637 void GGLShaderGetInfoLog(const gl_shader_t * shader, GLsizei bufsize, GLsizei* length, GLchar* infolog)
640 infolog[0] = 0;
641 if (shader->InfoLog)
643 len = strlen(shader->InfoLog);
644 strncpy(infolog, shader->InfoLog, bufsize);
645 infolog[bufsize] = 0;
648 *length = strlen(infolog);
664 *params = program->InfoLog ? strlen(program->InfoLog) + 1 : 0;
684 void GGLShaderProgramGetInfoLog(const gl_shader_program_t * program, GLsizei bufsize, GLsizei* length, GLchar* infolog)
687 infolog[0] = 0;
688 if (program->InfoLog)
690 len = strlen(program->InfoLog);
691 strncpy(infolog, program->InfoLog, bufsize);
692 infolog[bufsize] = 0;
695 *length = strlen(infolog);