X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=aa40994604538e5fdd6ab9d04e9878f75c70bac9;hb=c965cf031dc4e7b2fcf7d61ac919bd53aca5d7db;hp=4ac7ab11a9c336c573c14f8818c5ca5ae3eb1f70;hpb=5737591d891d69836735abb645a1b173baaabe96;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index 4ac7ab11..aa409946 100644 --- a/vid_null.c +++ b/vid_null.c @@ -29,13 +29,13 @@ void VID_Shutdown(void) { } -void signal_handler(int sig) +static void signal_handler(int sig) { Con_Printf("Received signal %d, exiting...\n", sig); Sys_Quit(1); } -void InitSig(void) +static void InitSig(void) { #ifndef WIN32 signal(SIGHUP, signal_handler); @@ -59,16 +59,6 @@ void VID_Finish (void) { } -int VID_SetGamma(unsigned short *ramps, int rampsize) -{ - return FALSE; -} - -int VID_GetGamma(unsigned short *ramps, int rampsize) -{ - return FALSE; -} - void VID_Init(void) { InitSig(); // trap evil signals @@ -96,7 +86,17 @@ void IN_Move(void) { } +vid_mode_t *VID_GetDesktopMode(void) +{ + return NULL; +} + size_t VID_ListModes(vid_mode_t *modes, size_t maxcount) { return 0; } + +qboolean GL_ExtensionSupported(const char *name) +{ + return false; +}