From fe73db40a0110550b2f4840a693da922584fb453 Mon Sep 17 00:00:00 2001 From: Ragnvald Maartmann-Moe IV Date: Sun, 29 Oct 2000 07:41:45 +0000 Subject: [PATCH] Comment out x11_force-view_port. Doing it every frame was dropping framerate to 40% of normal on V5, and probably any hardware under DRI, as I suspect it's running into DRI/X lock contention. --- source/in_x11.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/in_x11.c b/source/in_x11.c index 29fd91a..fa72346 100644 --- a/source/in_x11.c +++ b/source/in_x11.c @@ -312,7 +312,9 @@ IN_Commands (void) if (_windowed_mouse->int_val) { // grab the pointer XGrabPointer (x_disp, x_win, True, MOUSE_MASK, GrabModeAsync, GrabModeAsync, x_win, None, CurrentTime); +/* forcing viewport every frame is a hideous slowdown. x11_force_view_port(); + */ #ifdef HAVE_DGA if (dga_avail && in_dga->int_val && !dga_active) { XF86DGADirectVideo (x_disp, DefaultScreen (x_disp),