mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Fix vertices buffer initialization.
Fixed missing polygons in Rat Attack intro.
This commit is contained in:
parent
fbefc49c15
commit
e555d6edf5
|
@ -1225,6 +1225,8 @@ void OGLRender::_initData()
|
|||
|
||||
memset(triangles.vertices, 0, VERTBUFF_SIZE * sizeof(SPVertex));
|
||||
memset(triangles.elements, 0, ELEMBUFF_SIZE * sizeof(GLubyte));
|
||||
for (u32 i = 0; i < VERTBUFF_SIZE; ++i)
|
||||
triangles.vertices[i].w = 1.0f;
|
||||
triangles.num = 0;
|
||||
|
||||
#ifdef __TRIBUFFER_OPT
|
||||
|
|
Loading…
Reference in New Issue
Block a user