aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-03-11 01:13:58 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-04-10 16:22:28 +0200
commit560c9564346f2c663320a072e2685f9c846e5a08 (patch)
tree26184885f74f7cd8c0994c3c6d46437e93accfef /nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch
parentaa50b35a5054d59d7d1d430435665b0a38866b74 (diff)
downloadnx-libs-560c9564346f2c663320a072e2685f9c846e5a08.tar.gz
nx-libs-560c9564346f2c663320a072e2685f9c846e5a08.tar.bz2
nx-libs-560c9564346f2c663320a072e2685f9c846e5a08.zip
Mesa.patches: Adapt Mesa to CreatePixmap allocation hint ABI bump.
Diffstat (limited to 'nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch')
-rw-r--r--nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch b/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch
new file mode 100644
index 000000000..f2caf2812
--- /dev/null
+++ b/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch
@@ -0,0 +1,13 @@
+Index: Mesa/include/GL/xmesa_xf86.h
+===================================================================
+--- Mesa.orig/include/GL/xmesa_xf86.h
++++ Mesa/include/GL/xmesa_xf86.h
+@@ -130,7 +130,7 @@ do { \
+
+ /* CreatePixmap returns a PixmapPtr; so, it cannot be inside braces */
+ #define XMesaCreatePixmap(__d,__b,__w,__h,__depth) \
+- (*__d->CreatePixmap)(__d, __w, __h, __depth)
++ (*__d->CreatePixmap)(__d, __w, __h, __depth, 0)
+
+ #define XMesaFreePixmap(__d,__b) \
+ (*__d->DestroyPixmap)(__b)