void DrawQ_SetClipArea(float x, float y, float width, float height)
{
drawqueue_t * dq;
- if(r_refdef.drawqueuesize + sizeof(*dq) > r_refdef.maxdrawqueuesize)
+ if(r_refdef.drawqueuesize + (int)sizeof(*dq) > r_refdef.maxdrawqueuesize)
{
Con_DPrintf("DrawQueue full !\n");
return;
void DrawQ_ResetClipArea(void)
{
drawqueue_t *dq;
- if(r_refdef.drawqueuesize + sizeof(*dq) > r_refdef.maxdrawqueuesize)
+ if(r_refdef.drawqueuesize + (int)sizeof(*dq) > r_refdef.maxdrawqueuesize)
{
Con_DPrintf("DrawQueue full !\n");
return;
CHECKGLERROR
}
-void GL_ScissorTest(qboolean state)
+void GL_ScissorTest(int state)
{
if(gl_state.scissortest == state)
return;
void GL_ActiveTexture(int num);
void GL_ClientActiveTexture(int num);
void GL_Scissor(int x, int y, int width, int height); // AK for DRAWQUEUE_SETCLIP
-void GL_ScissorTest(qboolean state); // AK for DRAWQUEUE_(RE)SETCLIP
+void GL_ScissorTest(int state); // AK for DRAWQUEUE_(RE)SETCLIP
extern cvar_t gl_lockarrays;