- fixed: DTA_ColorOverlay was not properly handled by F2DDrawer.

This commit is contained in:
Christoph Oelckers 2016-09-22 10:20:36 +02:00
parent 52d4c3970e
commit 960ed5130c

View file

@ -160,6 +160,7 @@ void F2DDrawer::AddTexture(FTexture *img, DrawParms &parms)
ptr->Set(x, y + h, 0, u1, v2, color); ptr++; ptr->Set(x, y + h, 0, u1, v2, color); ptr++;
ptr->Set(x + w, y, 0, u2, v1, color); ptr++; ptr->Set(x + w, y, 0, u2, v1, color); ptr++;
ptr->Set(x + w, y + h, 0, u2, v2, color); ptr++; ptr->Set(x + w, y + h, 0, u2, v2, color); ptr++;
dg.mVertCount = 8;
} }
AddData(&dg); AddData(&dg);
} }