From 960ed5130c5b48d4708296ef5b86194417c9b5f8 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 22 Sep 2016 10:20:36 +0200 Subject: [PATCH] - fixed: DTA_ColorOverlay was not properly handled by F2DDrawer. --- src/gl/renderer/gl_2ddrawer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gl/renderer/gl_2ddrawer.cpp b/src/gl/renderer/gl_2ddrawer.cpp index 082e51ca4d..ba78634a3e 100644 --- a/src/gl/renderer/gl_2ddrawer.cpp +++ b/src/gl/renderer/gl_2ddrawer.cpp @@ -160,6 +160,7 @@ void F2DDrawer::AddTexture(FTexture *img, DrawParms &parms) 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 + h, 0, u2, v2, color); ptr++; + dg.mVertCount = 8; } AddData(&dg); }