Merge branch 'planes-mmx-fix' into 'master'

Fix missing MMX check

See merge request STJr/SRB2Internal!513
This commit is contained in:
MascaraSnake 2019-11-22 16:09:03 -05:00
commit 7400db00b7

View file

@ -1007,6 +1007,8 @@ void R_DrawSinglePlane(visplane_t *pl)
R_CheckFlatLength(W_LumpLength(levelflat->u.flat.lumpnum));
// Raw flats always have dimensions that are powers-of-two numbers.
ds_powersoftwo = true;
if (spanfunc == basespanfunc)
spanfunc = mmxspanfunc;
break;
default:
switch (type)