]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys_win.c
remove some Blood Omnicide related hacks, fixed video stippling on ATI (always draw...
[xonotic/darkplaces.git] / sys_win.c
index 5079e6ac57f3fccbdb9da3ee1e5bfa133eb2d3e1..4adaf69287e3d34e6e6e70266a953da764bb6e1e 100644 (file)
--- a/sys_win.c
+++ b/sys_win.c
@@ -30,8 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include "conproc.h"
 #include "direct.h"
 
-cvar_t sys_usetimegettime = {CVAR_SAVE, "sys_usetimegettime", "1", "use windows timeGetTime function (which has issues on some motherboards) for timing rather than QueryPerformanceCounter timer (which has issues on multicore/multiprocessor machines and processors which are designed to conserve power)"};
-
 HANDLE                         hinput, houtput;
 
 #ifdef QHOST
@@ -199,16 +197,6 @@ char *Sys_ConsoleInput (void)
        return NULL;
 }
 
-double Sys_DoubleTime (void)
-{
-       return Sys_DoubleTime_Shared();
-}
-
-void Sys_Sleep(int microseconds)
-{
-       Sys_Sleep_Shared(microseconds);
-}
-
 char *Sys_GetClipboardData (void)
 {
        char *data = NULL;
@@ -367,6 +355,8 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLin
                }
        }
 
+       Sys_ProvideSelfFD();
+
        Host_Main();
 
        /* return success of application */