mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2025-02-16 08:41:42 +00:00
Only define hasdga if compiled w/ DGA (#ifdef HAS_DGA), so that we avoid
defined but not used error
This commit is contained in:
parent
168d3e3761
commit
45ca17ab62
1 changed files with 2 additions and 0 deletions
|
@ -107,7 +107,9 @@ static int hasdgavideo = 0, hasvidmode = 0;
|
|||
#ifdef HAVE_DLOPEN
|
||||
static void *dlhand = NULL;
|
||||
#endif
|
||||
#ifdef HAS_DGA
|
||||
static int hasdga = 0;
|
||||
#endif
|
||||
static GLboolean (*QF_XMesaSetFXmode)(GLint mode) = NULL;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue