Fix the x86 sw renderer (intel asm).

I'd forgotten about assembly code versions when I was doing my testing
when I redid skins. Thanks to Sander for pointing it out.
This commit is contained in:
Bill Currie 2012-02-02 17:32:27 +09:00
parent 49453b690f
commit 6f10f0cea6

View file

@ -658,17 +658,17 @@ R_AliasDrawModel (alight_t *plighting)
r_affinetridesc.drawtype = (currententity->trivial_accept == 3) &&
r_recursiveaffinetriangles;
if (!acolormap)
acolormap = vid.colormap8;
if (r_affinetridesc.drawtype) {
D_PolysetUpdateTables (); // FIXME: precalc...
} else {
#ifdef USE_INTEL_ASM
D_Aff8Patch (currententity->colormap);
D_Aff8Patch (acolormap);
#endif
}
if (!acolormap)
acolormap = vid.colormap8;
if (currententity != r_view_model)
ziscale = (float) 0x8000 *(float) 0x10000;
else