Fixed color for drawing polygons on overlay.

This commit is contained in:
Maciej Suminski 2013-09-09 14:31:13 +02:00
parent cba1e0bf91
commit 8a4417ec46
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ void OPENGL_GAL::DrawPolygon( const std::deque<VECTOR2D>& aPointList )
// Any non convex polygon needs to be tesselated
// for this purpose the GLU standard functions are used
currentManager->Shader( SHADER_NONE );
currentManager->Color( fillColor.r, fillColor.g, fillColor.b, fillColor.a );
TessParams params = { currentManager, tessIntersects };
gluTessBeginPolygon( tesselator, &params );