Commit 573b07ce authored by Richard Gobeille's avatar Richard Gobeille
Browse files

engine: fix potential crash in polymost_fillpolygon()

parent ec4807ed
......@@ -9473,10 +9473,11 @@ void polymost_fillpolygon(int32_t npoints)
if (!(pth->flags & PTH_INDEXED))
buildgl_bindSamplerObject(0, pth->flags);
buildgl_bindSamplerObject(0, pth->flags);
float const f = getshadefactor(globalshade);
uint8_t const maskprops = (globalorientation>>7)&DAMETH_MASKPROPS;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment