mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-01 12:20:54 +00:00
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:
parent
9b458ba730
commit
fe73db40a0
1 changed files with 2 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue