updated patch for vertex program
authorDave Airlie <airliedfreedesktop.org>
Wed, 8 Sep 2004 08:51:12 +0000 (08:51 +0000)
committerDave Airlie <airliedfreedesktop.org>
Wed, 8 Sep 2004 08:51:12 +0000 (08:51 +0000)
src/mesa/drivers/dri/r200/r200_context.c
src/mesa/drivers/dri/r200/r200_screen.c

index 1db360d..4151b15 100644 (file)
@@ -410,7 +410,7 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual,
    if(driQueryOptionb(&rmesa->optionCache, "arb_vertex_program"))
       _mesa_enable_extension( ctx, "GL_ARB_vertex_program");
    if(driQueryOptionb(&rmesa->optionCache, "nv_vertex_program"))
-      _mesa_enable_extension( ctx, "GL_NV_VERTEX_PROGRAM");
+      _mesa_enable_extension( ctx, "GL_NV_vertex_program");
 
 #if 0
    r200InitDriverFuncs( ctx );
index 49d564a..e338e5b 100644 (file)
@@ -80,7 +80,7 @@ DRI_CONF_BEGIN
         DRI_CONF_NV_VERTEX_PROGRAM(false)
     DRI_CONF_SECTION_END
 DRI_CONF_END;
-static const GLuint __driNConfigOptions = 11;
+static const GLuint __driNConfigOptions = 13;
 
 #if 1
 /* Including xf86PciInfo.h introduces a bunch of errors...