mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-28 14:42:38 +00:00
Undid all the disabling of DGA. All of the sudden it works just fine. It
begs the question: What the HELL was wrong with it before and who fixed it without telling me?! =D
This commit is contained in:
parent
3e10387288
commit
d01388261c
3 changed files with 8 additions and 5 deletions
|
@ -33,6 +33,8 @@
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
|
||||||
|
extern cvar_t *vid_dga_mouseaccel;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
VID_CheckDGA
|
VID_CheckDGA
|
||||||
|
|
||||||
|
|
|
@ -807,7 +807,7 @@ void Draw_ConsoleBackground (int lines)
|
||||||
gl = (glpic_t *)conback->data;
|
gl = (glpic_t *)conback->data;
|
||||||
|
|
||||||
y = vid.height * 0.9;
|
y = vid.height * 0.9;
|
||||||
if (lines > y)
|
if (lines > y || gl_conalpha->value >= 1.0)
|
||||||
alpha = 1;
|
alpha = 1;
|
||||||
else
|
else
|
||||||
alpha = (float)(gl_conalpha->value * 2 * lines)/y;
|
alpha = (float)(gl_conalpha->value * 2 * lines)/y;
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
#include <draw.h>
|
#include <draw.h>
|
||||||
#include <context_x11.h>
|
#include <context_x11.h>
|
||||||
|
|
||||||
#ifndef _EXPERIMENTAL_
|
//#ifndef _EXPERIMENTAL_
|
||||||
# undef HAS_DGA
|
//# undef HAS_DGA
|
||||||
#endif
|
//#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -485,6 +485,7 @@ void VID_Init(unsigned char *palette)
|
||||||
hasvidmode = 0;
|
hasvidmode = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Con_SafePrintf ("hasdga = %i\nhasdgavideo = %i\nnummodes = %i\nhasvidmode = %i\n", hasdga, hasdgavideo, nummodes, hasvidmode);
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_DLOPEN
|
#ifdef HAVE_DLOPEN
|
||||||
dlhand = dlopen(NULL, RTLD_LAZY);
|
dlhand = dlopen(NULL, RTLD_LAZY);
|
||||||
|
@ -514,7 +515,7 @@ void VID_Init(unsigned char *palette)
|
||||||
#endif
|
#endif
|
||||||
/* Glide uses DGA internally, so we don't want to
|
/* Glide uses DGA internally, so we don't want to
|
||||||
mess with it. */
|
mess with it. */
|
||||||
hasdga = 0;
|
// hasdga = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* window attributes */
|
/* window attributes */
|
||||||
|
|
Loading…
Reference in a new issue