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 1db360def811b2c6a3dd5361f7258fe0cfd5c3a5..4151b1598edec23d5cc672f149f745e468d4badd 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 49d564a737f456dc114acfcc7ea47ffb87174986..e338e5b353cf943df6966ce5e12979b16cf0cb7b 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...