summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/nouveau/nouveau_swtcl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_swtcl.c')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_swtcl.c4
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 7c7ba7374b..746b0fac8c 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);