mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-11-27 22:10:06 +00:00
OsdGLDrawRegistry : fixing an OSD error message prefix when program linking fails
This commit is contained in:
parent
85be47a135
commit
a419830ee8
@ -343,7 +343,7 @@ OsdGLDrawRegistryBase::_CreateDrawConfig(
|
||||
glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLength);
|
||||
char * infoLog = new char[infoLogLength];
|
||||
glGetProgramInfoLog(program, infoLogLength, NULL, infoLog);
|
||||
OsdError(OSD_GLSL_COMPILE_ERROR,
|
||||
OsdError(OSD_GLSL_LINK_ERROR,
|
||||
"Error linking GLSL program: %s\n", infoLog);
|
||||
delete[] infoLog;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user