summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_context.c
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-09-17 17:46:36 +0000
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2006-09-17 17:46:36 +0000
commit7d907ef69c3cbd6cd0c49f454bc933bc9c343d31 (patch)
tree0be6061fb09b7dca9d8ef20105bbb04b7f1e2fb4 /src/mesa/drivers/dri/nouveau/nouveau_context.c
parent473a38622e46d46b74d7426d0a2f4b60f4a1d5d4 (diff)
Some small changes
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_context.c')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c
index d84e73c015..3ca5edf782 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_context.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c
@@ -71,7 +71,6 @@ GLboolean nouveauCreateContext( const __GLcontextModes *glVisual,
struct dd_function_table functions;
nouveauContextPtr nmesa;
nouveauScreenPtr screen;
- int i;
/* Allocate the context */
nmesa = (nouveauContextPtr) CALLOC( sizeof(*nmesa) );
@@ -129,16 +128,18 @@ GLboolean nouveauCreateContext( const __GLcontextModes *glVisual,
switch(nmesa->screen->card_type)
{
case NV_03:
+ //nv03TriInitFunctions( ctx );
+ break;
case NV_04:
case NV_05:
- default:
- //nv03TriInitFunctions( ctx );
+ //nv04TriInitFunctions( ctx );
break;
case NV_10:
case NV_20:
case NV_30:
case NV_40:
case G_70:
+ default:
nv10TriInitFunctions( ctx );
break;
}