X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=gl_rmain.c;h=20f94ecd73d76cebdc77e350ee3d5ad36588b08a;hp=a1530a6fdc5f79207131175e05430d1799086a13;hb=f91720d77fb7394c56a48993594ac5d93f7d0b29;hpb=7f93c4a0c143db64985895cca15f347bd95b0fcd diff --git a/gl_rmain.c b/gl_rmain.c index a1530a6f..20f94ecd 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -4702,7 +4702,7 @@ void R_BufferData_NewFrame(void) { 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;