diff options
author | Stephane Marchesin <[email protected]> | 2006-11-05 13:46:48 +0000 |
---|---|---|
committer | Stephane Marchesin <[email protected]> | 2006-11-05 13:46:48 +0000 |
commit | e2b4d9b317104ff3c56a9bf108aa79084d49eba5 (patch) | |
tree | fdeefd50bfae06298ed943674b69aba088f464fd /src/mesa/drivers/dri/nouveau/nouveau_swtcl.c | |
parent | 1ebe921228ef896804384002d8a3acd0885afc98 (diff) |
Architect the DRI :
- make use of the autogenerated nouveau_reg.h file
- add object creation to the DRI
- some work on screen and context creation
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_swtcl.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_swtcl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_swtcl.c b/src/mesa/drivers/dri/nouveau/nouveau_swtcl.c index 7c7ba7374bb..746b0fac8c0 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_swtcl.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_swtcl.c @@ -81,7 +81,7 @@ void nouveauFallback(struct nouveau_context *nmesa, GLuint bit, GLboolean mode) if (mode) { nmesa->Fallback |= bit; if (oldfallback == 0) { - if (nmesa->screen->card_type<NV_10) { + if (nmesa->screen->card->type<NV_10) { //nv03FinishPrimitive(nmesa); } else { nv10FinishPrimitive(nmesa); @@ -96,7 +96,7 @@ void nouveauFallback(struct nouveau_context *nmesa, GLuint bit, GLboolean mode) if (oldfallback == bit) { _swrast_flush( ctx ); - if (nmesa->screen->card_type<NV_10) { + if (nmesa->screen->card->type<NV_10) { //nv03TriInitFunctions(ctx); } else { nv10TriInitFunctions(ctx); |