projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
417cb2c
)
Fix GLX build of xserver master branch.
author
Michel Dänzer
<michel@tungstengraphics.com>
Mon, 5 Nov 2007 09:03:26 +0000
(10:03 +0100)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Mon, 5 Nov 2007 09:03:26 +0000
(10:03 +0100)
The internal CreatePixmap API has been extended.
include/GL/xmesa_xf86.h
patch
|
blob
|
history
diff --git
a/include/GL/xmesa_xf86.h
b/include/GL/xmesa_xf86.h
index 4d69d4d930d1ffa53e897518a13ddfb3a18e3f24..10f93c3ab6276905f288cdfc70e48b4d85646d72 100644
(file)
--- a/
include/GL/xmesa_xf86.h
+++ b/
include/GL/xmesa_xf86.h
@@
-169,8
+169,13
@@
do { \
/* CreatePixmap returns a PixmapPtr; so, it cannot be inside braces */
+#ifdef CREATE_PIXMAP_USAGE_SCRATCH
+#define XMesaCreatePixmap(__d,__b,__w,__h,__depth) \
+ (*__d->CreatePixmap)(__d, __w, __h, __depth, 0)
+#else
#define XMesaCreatePixmap(__d,__b,__w,__h,__depth) \
(*__d->CreatePixmap)(__d, __w, __h, __depth)
+#endif
#define XMesaFreePixmap(__d,__b) \
(*__d->DestroyPixmap)(__b)