projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35b52c7
)
prevent from optimizing out by some compilers (from XFree86 CVS)
author
Alan Hourihane
<alanh@tungstengraphics.com>
Tue, 21 Oct 2003 21:49:23 +0000
(21:49 +0000)
committer
Alan Hourihane
<alanh@tungstengraphics.com>
Tue, 21 Oct 2003 21:49:23 +0000
(21:49 +0000)
src/mesa/drivers/x11/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/x11/xm_api.c
b/src/mesa/drivers/x11/xm_api.c
index 6ebda0c14f86018d983e7d8040087a48a140c54c..2ad5a156ff5be7c7b7c23be8166e1b149eca29e8 100644
(file)
--- a/
src/mesa/drivers/x11/xm_api.c
+++ b/
src/mesa/drivers/x11/xm_api.c
@@
-175,7
+175,7
@@
static int host_byte_order( void )
* Error handling.
*/
#ifndef XFree86Server
-static int mesaXErrorFlag = 0;
+static
volatile
int mesaXErrorFlag = 0;
static int mesaHandleXError( XMesaDisplay *dpy, XErrorEvent *event )
{