diff --git a/source/gl_rsurf.c b/source/gl_rsurf.c index 193c20e..d9c9504 100644 --- a/source/gl_rsurf.c +++ b/source/gl_rsurf.c @@ -1339,7 +1339,6 @@ void GL_BuildLightmaps (void) currentmodel = m; for (i=0 ; inumsurfaces ; i++) { - //GL_CreateSurfaceLightmap (m->surfaces + i); if ( m->surfaces[i].flags & SURF_DRAWTURB ) continue; if ( m->surfaces[i].flags & SURF_DRAWSKY ) diff --git a/source/in_x11.c b/source/in_x11.c index 3f63760..dc9a678 100644 --- a/source/in_x11.c +++ b/source/in_x11.c @@ -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);