X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=vid_3dfxsvga.c;h=6583d37d5e49e616eeca60a3941658e6d00e57d4;hb=b128f7ae74f68b64160fb8893d6328cafc2217c4;hp=601387c1625991613ae96b094b9453ed708afcbf;hpb=e4b3858e7aca0ead91be1d8f675db084d025abad;p=xonotic%2Fdarkplaces.git diff --git a/vid_3dfxsvga.c b/vid_3dfxsvga.c index 601387c1..6583d37d 100644 --- a/vid_3dfxsvga.c +++ b/vid_3dfxsvga.c @@ -46,8 +46,6 @@ #include -cvar_t vid_mode = {"vid_mode","0",false}; - viddef_t vid; // global video state static void *dlhand = NULL; @@ -111,7 +109,7 @@ void InitSig(void) Check for ARB, SGIS, or EXT multitexture support */ -void VID_CheckMultitexture() +void VID_CheckMultitexture(void) { Con_Printf ("Checking for multitexture... "); if (COM_CheckParm ("-nomtex")) @@ -177,7 +175,7 @@ void VID_CheckCVA(void) typedef void (GLAPIENTRY *gl3DfxSetDitherModeEXT_FUNC) (GrDitherMode_t mode); -void VID_SetupDithering() +void VID_SetupDithering(void) { Con_Printf ("Dithering: "); @@ -306,7 +304,12 @@ findres(int *width, int *height) return GR_RESOLUTION_640x480; } -void VID_Init() +int VID_SetGamma(float prescale, float gamma, float scale, float base) +{ + return FALSE; +} + +void VID_Init(void) { int i; GLint attribs[32]; @@ -360,8 +363,6 @@ void VID_Init() vid.width = vid.conwidth; vid.height = vid.conheight; - vid.aspect = ((float)vid.height / (float)vid.width) * (320.0 / 240.0); - InitSig(); // trap evil signals GL_Init(); @@ -388,9 +389,6 @@ void VID_ExtraOptionCmd(int option_cursor) } */ } -void VID_InitCvars () -{ -} void VID_SetCaption (char *text) {