mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-01-22 07:51:20 +00:00
source/gl_rsurf.c:
removed commented out line source/in_x11.c: re-enable the mouse warpage.
This commit is contained in:
parent
7e4def70af
commit
09af993795
2 changed files with 2 additions and 3 deletions
|
@ -1339,7 +1339,6 @@ void GL_BuildLightmaps (void)
|
|||
currentmodel = m;
|
||||
for (i=0 ; i<m->numsurfaces ; i++)
|
||||
{
|
||||
//GL_CreateSurfaceLightmap (m->surfaces + i);
|
||||
if ( m->surfaces[i].flags & SURF_DRAWTURB )
|
||||
continue;
|
||||
if ( m->surfaces[i].flags & SURF_DRAWSKY )
|
||||
|
|
|
@ -477,8 +477,8 @@ IN_Init(void)
|
|||
XF86DGADirectVideo(x_disp, DefaultScreen(x_disp),
|
||||
XF86DGADirectMouse|XF86DGADirectKeyb);
|
||||
|
||||
// XWarpPointer(x_disp, None, x_win, 0, 0, 0, 0,
|
||||
// vid.width, vid.height);
|
||||
XWarpPointer(x_disp, None, x_win, 0, 0, 0, 0,
|
||||
vid.width, vid.height);
|
||||
|
||||
XGrabPointer (x_disp, x_win, True, MOUSE_MASK, GrabModeAsync,
|
||||
GrabModeAsync, x_win, None, CurrentTime);
|
||||
|
|
Loading…
Reference in a new issue