]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - vid_wgl.c
Fast commit before Im off for 10 days. Please correct/undo my commit if it breaks...
[xonotic/darkplaces.git] / vid_wgl.c
index 64fed0390f8981f6ac34dc5d586e9a54f3a9a619..e23b1bc7ca84849d3d06363a4ea7b4bbfcc2f2ed 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -468,7 +468,6 @@ void AppActivate(BOOL fActive, BOOL minimize)
 
        if (fActive)
        {
-               vid_allowhwgamma = true;
                if (vid_isfullscreen)
                {
                        if (vid_wassuspended)
@@ -485,7 +484,6 @@ void AppActivate(BOOL fActive, BOOL minimize)
 
        if (!fActive)
        {
-               vid_allowhwgamma = false;
                vid_usingmouse = false;
                IN_DeactivateMouse ();
                IN_ShowMouse ();
@@ -1315,7 +1313,7 @@ void IN_MouseMove (usercmd_t *cmd)
        if (!mouseactive)
        {
                GetCursorPos (&current_pos);
-               ui_mouseupdate(current_pos.x - window_x, current_pos.y - window_y);
+               //ui_mouseupdate(current_pos.x - window_x, current_pos.y - window_y);
                in_mouse_x = in_mouse_y = 0;
                return;
        }