projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c103329
)
glx: Compile dri2.c only if GLX_DIRECT_RENDERING is defined.
author
Vinson Lee
<vlee@vmware.com>
Tue, 22 Dec 2009 22:51:12 +0000
(14:51 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 22 Dec 2009 22:51:12 +0000
(14:51 -0800)
src/glx/x11/dri2.c
patch
|
blob
|
history
diff --git
a/src/glx/x11/dri2.c
b/src/glx/x11/dri2.c
index e144ed3e1f91aaa4df601cf5f115fd3624dd335f..dad04470a00a52321707490efea5df91792f5831 100644
(file)
--- a/
src/glx/x11/dri2.c
+++ b/
src/glx/x11/dri2.c
@@
-31,6
+31,8
@@
*/
+#ifdef GLX_DIRECT_RENDERING
+
#define NEED_REPLIES
#include <X11/Xlibint.h>
#include <X11/extensions/Xext.h>
@@
-377,3
+379,5
@@
DRI2CopyRegion(Display * dpy, XID drawable, XserverRegion region,
UnlockDisplay(dpy);
SyncHandle();
}
+
+#endif /* GLX_DIRECT_RENDERING */