mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
Fix out of bounds bug
This commit is contained in:
parent
0b4fd6c766
commit
9b98c4d512
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ void PolyTriangleDrawer::draw_arrays(const PolyDrawArgs &drawargs, WorkerThreadD
|
|||
|
||||
auto llvm = Drawers::Instance();
|
||||
|
||||
PolyDrawFuncPtr drawfuncs[3];
|
||||
PolyDrawFuncPtr drawfuncs[4];
|
||||
int num_drawfuncs = 0;
|
||||
|
||||
drawfuncs[num_drawfuncs++] = drawargs.subsectorTest ? &ScreenTriangle::SetupSubsector : &ScreenTriangle::SetupNormal;
|
||||
|
|
Loading…
Reference in a new issue