From a419830ee84a33eb32e26045871a3a2f22a06181 Mon Sep 17 00:00:00 2001 From: manuelk Date: Wed, 19 Jun 2013 12:59:43 -0700 Subject: [PATCH] OsdGLDrawRegistry : fixing an OSD error message prefix when program linking fails --- opensubdiv/osd/glDrawRegistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensubdiv/osd/glDrawRegistry.cpp b/opensubdiv/osd/glDrawRegistry.cpp index 1440244b..70e4ea59 100644 --- a/opensubdiv/osd/glDrawRegistry.cpp +++ b/opensubdiv/osd/glDrawRegistry.cpp @@ -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; }