void GL_LockArrays(int first, int count);
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
+
extern cvar_t gl_lockarrays;
extern cvar_t gl_mesh_copyarrays;
}
rmeshstate_t;
-// overbright rendering scale for the current state
+// lightmap overbright scaling
extern int r_lightmapscalebit;
-extern float r_colorscale;
// adds console variables and registers the render module (only call from GL_Init)
void gl_backend_init(void);
extern float varray_texcoord2f[4][65536*2];
extern float varray_texcoord3f[4][65536*3];
extern float varray_normal3f[65536*3];
+extern int earray_element3i[65536];
#endif