X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=28f92f8cb46bef2fec55c6914db1fc30ca4748c5;hb=390c6ca4e5b5eaae64a8b630796003218e61d969;hp=a4c2f46b32d2e92a0c7a1f798fac0d341a0d4e44;hpb=df8727697622029dd7a03047999ffc19b49e44ea;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index a4c2f46b..28f92f8c 100644 --- a/vid_null.c +++ b/vid_null.c @@ -22,6 +22,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. int cl_available = false; +qboolean vid_supportrefreshrate = false; + void VID_Shutdown(void) { } @@ -29,8 +31,7 @@ void VID_Shutdown(void) void signal_handler(int sig) { Con_Printf("Received signal %d, exiting...\n", sig); - Sys_Quit(); - exit(0); + Sys_Quit(1); } void InitSig(void) @@ -49,23 +50,16 @@ void InitSig(void) #endif } -void VID_GetWindowSize (int *x, int *y, int *width, int *height) -{ - *x = *y = 0; - *width = 1; - *height = 1; -} - -void VID_Finish (void) +void VID_Finish (qboolean allowmousegrab) { } -int VID_SetGamma(unsigned short *ramps) +int VID_SetGamma(unsigned short *ramps, int rampsize) { return FALSE; } -int VID_GetGamma(unsigned short *ramps) +int VID_GetGamma(unsigned short *ramps, int rampsize) { return FALSE; } @@ -75,7 +69,7 @@ void VID_Init(void) InitSig(); // trap evil signals } -int VID_InitMode(int fullscreen, int width, int height, int bpp) +int VID_InitMode(int fullscreen, int width, int height, int bpp, int refreshrate, int stereobuffer) { return false; }