Remove GetMSC DriverAPI function.
[mesa.git] / src / mesa / drivers / dri / nouveau / nouveau_swtcl.c
index 7c7ba7374bb7961e85ade45127dc18e25a02cf4e..8a013bd9995e0229b84267d30096e1a653ff942b 100644 (file)
@@ -81,10 +81,10 @@ 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) {
-                               //nv03FinishPrimitive(nmesa);
+                       if (nmesa->screen->card->type<NV_10) {
+                               //nv04FinishPrimitive(nmesa);
                        } else {
-                               nv10FinishPrimitive(nmesa);
+                               //nv10FinishPrimitive(nmesa);
                        }
 
                        _swsetup_Wakeup(ctx);
@@ -96,8 +96,8 @@ void nouveauFallback(struct nouveau_context *nmesa, GLuint bit, GLboolean mode)
                if (oldfallback == bit) {
                        _swrast_flush( ctx );
 
-                       if (nmesa->screen->card_type<NV_10) {
-                               //nv03TriInitFunctions(ctx);
+                       if (nmesa->screen->card->type<NV_10) {
+                               nv04TriInitFunctions(ctx);
                        } else {
                                nv10TriInitFunctions(ctx);
                        }