On 02/11/2013 11:26 PM, Matt Turner wrote:
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)) {

Sensible enough.

Reviewed-by: Kenneth Graunke <kenn...@whitecape.org>

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to