Skip to content

Commit

Permalink
[rend2] Reduce goreVBO size
Browse files Browse the repository at this point in the history
  • Loading branch information
SomaZ committed Feb 16, 2024
1 parent cb5a8c1 commit 494abea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codemp/rd-rend2/tr_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ static void R_InitGoreVao()
{
tr.goreVBO = R_CreateVBO(
nullptr,
sizeof(g2GoreVert_t) * MAX_LODS * MAX_GORE_RECORDS * MAX_GORE_VERTS * MAX_FRAMES,
sizeof(g2GoreVert_t) * MAX_GORE_RECORDS * MAX_GORE_VERTS * MAX_FRAMES,
VBO_USAGE_DYNAMIC);
tr.goreVBO->offsets[ATTR_INDEX_POSITION] = offsetof(g2GoreVert_t, position);
tr.goreVBO->offsets[ATTR_INDEX_NORMAL] = offsetof(g2GoreVert_t, normal);
Expand Down

0 comments on commit 494abea

Please sign in to comment.