@ -31,6 +31,8 @@ void VID_Init(void)
vid.colormap = host_colormap;
vid.fullbright = 256 - LittleLong(*((int *)vid.colormap + 2048));
vid.recalc_refdef = 1;
}
void VID_Shutdown(void)
@ -47,6 +49,9 @@ void VID_Lock(void)
void GL_BeginRendering(int *x, int *y, int *width, int *height)
{
*x = *y = 0;
*width = vid.width;
*height = vid.height;
void GL_EndRendering(void)