mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-16 08:41:42 +00:00
oops, accidently left a test disablement of DGA in. also forgot some of the DGA/VIDMODE split.
This commit is contained in:
parent
7da23db202
commit
a7e5fd3a16
1 changed files with 4 additions and 2 deletions
|
@ -63,7 +63,6 @@
|
|||
#include <X11/keysym.h>
|
||||
#include <X11/cursorfont.h>
|
||||
|
||||
#undef HAS_DGA
|
||||
#ifdef HAS_DGA
|
||||
# include <X11/extensions/xf86dga.h>
|
||||
#endif
|
||||
|
@ -476,6 +475,9 @@ void VID_Init(unsigned char *palette)
|
|||
hasdga = hasdgavideo = 0;
|
||||
}
|
||||
}
|
||||
Con_SafePrintf ("hasdga = %i\nhasdgavideo = %i\n", hasdga, hasdgavideo);
|
||||
#endif
|
||||
#ifdef HAS_VIDMODE
|
||||
hasvidmode = VID_CheckVMode(x_disp, NULL, NULL);
|
||||
if (hasvidmode) {
|
||||
if (! XF86VidModeGetAllModeLines(x_disp, DefaultScreen(x_disp),
|
||||
|
@ -484,7 +486,7 @@ void VID_Init(unsigned char *palette)
|
|||
hasvidmode = 0;
|
||||
}
|
||||
}
|
||||
Con_SafePrintf ("hasdga = %i\nhasdgavideo = %i\nnummodes = %i\nhasvidmode = %i\n", hasdga, hasdgavideo, nummodes, hasvidmode);
|
||||
Con_SafePrintf ("hasvidmode = %i\nnummodes = %i\n", hasvidmode, nummodes);
|
||||
#endif
|
||||
#ifdef HAVE_DLOPEN
|
||||
dlhand = dlopen(NULL, RTLD_LAZY);
|
||||
|
|
Loading…
Reference in a new issue