mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 21:28:50 +00:00
fix noDamageExtension warning in Xprint/Init.c
Also took out duplicate definition of this variable in mi/miinitext.c
This commit is contained in:
@@ -308,10 +308,7 @@ void PrinterInitGlobals(void)
|
||||
* https://bugs.freedesktop.org/show_bug.cgi?id=1660) ...
|
||||
* (you can enable the DAMAGE extension explicitly via
|
||||
* % X +extension DAMAGE ... #) ;-( */
|
||||
{
|
||||
extern Bool noDamageExtension;
|
||||
noDamageExtension = TRUE;
|
||||
}
|
||||
noDamageExtension = TRUE;
|
||||
#endif /* DAMAGE */
|
||||
|
||||
#ifdef SMART_SCHEDULE
|
||||
|
||||
@@ -85,6 +85,7 @@ SOFTWARE.
|
||||
#include "misc.h"
|
||||
#include "extension.h"
|
||||
#include "micmap.h"
|
||||
#include "globals.h"
|
||||
|
||||
#if defined(QNX4) /* sleaze for Watcom on QNX4 ... */
|
||||
#undef GLXEXT
|
||||
@@ -125,9 +126,6 @@ extern Bool noBigReqExtension;
|
||||
#ifdef COMPOSITE
|
||||
extern Bool noCompositeExtension;
|
||||
#endif
|
||||
#ifdef DAMAGE
|
||||
extern Bool noDamageExtension;
|
||||
#endif
|
||||
#ifdef DBE
|
||||
extern Bool noDbeExtension;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user