[Mesa-dev] [PATCH] mesa: Use PROGRAM_ERROR_STRING_ARB instead of the _NV name

Matt Turner mattst88 at gmail.com
Mon Feb 11 23:26:37 PST 2013


Since NV_fragment_program is now gone. No functional change, since the
values are identical.
---
 src/mesa/main/getstring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index aa3a528..5280b4d 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -137,7 +137,7 @@ _mesa_GetString( GLenum name )
          if (ctx->API == API_OPENGLES)
             break;
 	 return shading_language_version(ctx);
-      case GL_PROGRAM_ERROR_STRING_NV:
+      case GL_PROGRAM_ERROR_STRING_ARB:
          if (ctx->API == API_OPENGL_COMPAT &&
              (ctx->Extensions.ARB_fragment_program ||
               ctx->Extensions.ARB_vertex_program)) {
-- 
1.7.12.4



More information about the mesa-dev mailing list