Lines Matching refs:errorLogLength
376 GLint errorLogLength = 0; in MakeShader() local
377 dispatch.glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &errorLogLength); in MakeShader()
378 if (!errorLogLength) { in MakeShader()
379 errorLogLength = 512; in MakeShader()
382 std::vector<GLchar> errorLog(errorLogLength); in MakeShader()
383 dispatch.glGetShaderInfoLog(shader, errorLogLength, &errorLogLength, errorLog.data()); in MakeShader()
385 const std::string errorString = errorLogLength == 0 ? "" : errorLog.data(); in MakeShader()
410 GLint errorLogLength = 0; in MakeProgram() local
411 dispatch.glGetProgramiv(program, GL_INFO_LOG_LENGTH, &errorLogLength); in MakeProgram()
412 if (!errorLogLength) { in MakeProgram()
413 errorLogLength = 512; in MakeProgram()
416 std::vector<char> errorLog(errorLogLength, 0); in MakeProgram()
417 dispatch.glGetProgramInfoLog(program, errorLogLength, nullptr, errorLog.data()); in MakeProgram()
419 const std::string errorString = errorLogLength == 0 ? "" : errorLog.data(); in MakeProgram()
439 GLint errorLogLength = 0; in MakeProgram() local
440 dispatch.glGetProgramiv(program, GL_INFO_LOG_LENGTH, &errorLogLength); in MakeProgram()
441 if (!errorLogLength) { in MakeProgram()
442 errorLogLength = 512; in MakeProgram()
445 std::vector<char> errorLog(errorLogLength, 0); in MakeProgram()
446 dispatch.glGetProgramInfoLog(program, errorLogLength, nullptr, errorLog.data()); in MakeProgram()
448 const std::string errorString = errorLogLength == 0 ? "" : errorLog.data(); in MakeProgram()