X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=vid_null.c;h=9accd0a6da7fc04ab6af45692746541f061efed1;hb=3c0dcba17deda28ea48a69acda942b292f74aeb1;hp=2ce3321c7bbc916be3f19a3d7c849e8da5937f81;hpb=7da3f74c75363169da55547a5758a10735352b95;p=xonotic%2Fdarkplaces.git diff --git a/vid_null.c b/vid_null.c index 2ce3321c..9accd0a6 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) { } @@ -49,16 +51,16 @@ void InitSig(void) #endif } -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; } @@ -68,7 +70,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) { return false; }