Skip to content

Commit

Permalink
feat: add missing mod mem alloc
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Pollind <mpollind@gmail.com>
  • Loading branch information
pollend committed Feb 19, 2024
1 parent ea96175 commit fb2f657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ref_gl/r_backend.c
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ void RB_RegisterStreamVBOs( void )
stream->vbo = R_CreateMeshVBO( &rb,
MAX_STREAM_VBO_VERTS, MAX_STREAM_VBO_ELEMENTS, 0,
vattribs[i], VBO_TAG_STREAM, VATTRIB_TEXCOORDS_BIT|VATTRIB_NORMAL_BIT|VATTRIB_SVECTOR_BIT );
stream->vertexData = RB_Alloc( MAX_STREAM_VBO_VERTS * stream->vbo->vertexSize );
stream->vertexData = Mod_Mem_Alloc(rb.mempool, MAX_STREAM_VBO_VERTS * stream->vbo->vertexSize );
}
}

Expand Down

0 comments on commit fb2f657

Please sign in to comment.