You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

53 lines
971 B

#if !defined(USE_LIBSDL) && !defined(USE_OPENGL)
#include "quakedef.h"
viddef_t vid; // global video state
modestate_t modestate = MS_UNINIT;
int gl_stencilbits = 0;
qboolean gl_texture_NPOT = false;
qboolean gl_glsl_gamma_able = false;
qboolean gl_mtexable = false;
float gl_max_anisotropy = 1;
qboolean gl_texture_env_combine = false;
qboolean gl_texture_env_add = false;
cvar_t vid_gamma = { "gamma", "1", CVAR_ARCHIVE };
cvar_t vid_contrast = { "contrast", "1", CVAR_ARCHIVE };
void VID_Init(void)
{
Cvar_RegisterVariable(&vid_gamma);
Cvar_RegisterVariable(&vid_contrast);
memset(&vid, 0, sizeof(viddef_t));
vid.width = 1;
vid.height = 1;
vid.conwidth = 1;
vid.conheight = 1;
vid.maxwarpwidth = 320;
vid.maxwarpheight = 200;
}
void VID_Shutdown(void)
{
}
void VID_Toggle(void)
{
}
void VID_Lock(void)
{
}
void GL_BeginRendering(int *x, int *y, int *width, int *height)
{
}
void GL_EndRendering(void)
{
}
#endif // !USE_LIBSDL && !USE_OPENGL