git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11922
d7cf8633-e32d-0410-b094-
e92efae38249
{
if (r_bufferdata_buffer[r_bufferdata_cycle][type])
{
{
if (r_bufferdata_buffer[r_bufferdata_cycle][type])
{
- R_BufferData_Resize(type, false);
+ R_BufferData_Resize((r_bufferdata_type_t)type, false);
// free all but the head buffer, this is how we recycle obsolete
// buffers after they are no longer in use
p = &r_bufferdata_buffer[r_bufferdata_cycle][type]->purge;
// free all but the head buffer, this is how we recycle obsolete
// buffers after they are no longer in use
p = &r_bufferdata_buffer[r_bufferdata_cycle][type]->purge;