- Textured automap would crash due to an additional parameter in the software renderer to the FillSimplePoly function call, causing stack issues.

This commit is contained in:
Rachael Alexanderson 2016-11-08 15:05:23 -05:00
commit 9413ea6edf
3 changed files with 3 additions and 3 deletions

View file

@ -464,7 +464,7 @@ void OpenGLFrameBuffer::Clear(int left, int top, int right, int bottom, int palc
void OpenGLFrameBuffer::FillSimplePoly(FTexture *texture, FVector2 *points, int npoints,
double originx, double originy, double scalex, double scaley,
DAngle rotation, FDynamicColormap *colormap, int lightlevel)
DAngle rotation, FDynamicColormap *colormap, int lightlevel, int bottomclip)
{
if (GLRenderer != nullptr && GLRenderer->m2DDrawer != nullptr && npoints >= 3)
{