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.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2000-10-29 07:41:45 +00:00
parent 9b458ba730
commit fe73db40a0

View file

@ -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),