1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Fix array bound write error in renderTriangles.

This commit is contained in:
Sergey Lipskiy 2016-07-13 17:32:22 +06:00
parent feb446c3f8
commit 0263eb34f7

View File

@ -163,7 +163,7 @@ int clipW(const SPVertex ** _vsrc, SPVertex * _vdst)
void renderTriangles(const SPVertex * _pVertices, const GLubyte * _pElements, u32 _numElements)
{
vertexclip vclip[12];
vertexclip vclip[16];
vertexi vdraw[12];
const SPVertex * vsrc[4];
SPVertex vdata[6];