Lines Matching refs:log_length
331 GLint log_length = 0;
332 glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &log_length);
333 if (log_length) {
334 char* error_log = new char[log_length];
336 glGetShaderInfoLog(shader, log_length, NULL, error_log);
365 GLint log_length = 0;
366 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &log_length);
367 if (log_length) {
368 char* error_log = new char[log_length];
370 glGetProgramInfoLog(program, log_length, NULL, error_log);