Searched refs:shader_log (Results 1 – 1 of 1) sorted by relevance
152 std::ostringstream *shader_log) { in CompileAndCheckShader() argument156 if (shader_log) in CompileAndCheckShader()157 *shader_log << "Failed glCreateShader call"; in CompileAndCheckShader()165 if (shader_log) { in CompileAndCheckShader()170 *shader_log << "Failed to compile shader:\n" << info_log.c_str() in CompileAndCheckShader()173 *shader_log << sources[i]; in CompileAndCheckShader()175 *shader_log << "\n"; in CompileAndCheckShader()248 std::ostringstream *shader_log) { in GenerateProgram() argument252 GL_VERTEX_SHADER, 1, &vertex_shader_source, shader_log); in GenerateProgram()259 GL_FRAGMENT_SHADER, 1, &fragment_shader_source, shader_log); in GenerateProgram()[all …]