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);
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);
}