From 5ee1c59aa685c158674a66eebeffd6c94e837f97 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 2 Mar 2013 00:42:01 +0000 Subject: [PATCH] fix C++ compile error git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11922 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=f91720d77fb7394c56a48993594ac5d93f7d0b29 --- gl_rmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2