aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa.patches_6.4.1/4003_CreatePixmap-AllocationHints.patch
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-20 12:54:14 +0100
committerftrapero <frantracer@gmail.com>2017-06-15 14:16:38 +0200
commitc20b946b4abe2aeccfdb85e54f38e65041948741 (patch)
treedb7df26245e2ea177592f7f9cc4ecca1dea87d0a /nx-X11/extras/Mesa.patches_6.4.1/4003_CreatePixmap-AllocationHints.patch
parent209657f69055b17b00c3db3f99c7f411a6e8d176 (diff)
downloadnx-libs-c20b946b4abe2aeccfdb85e54f38e65041948741.tar.gz
nx-libs-c20b946b4abe2aeccfdb85e54f38e65041948741.tar.bz2
nx-libs-c20b946b4abe2aeccfdb85e54f38e65041948741.zip
Mesa subtree: Adapt build process for building against Mesa that gets pulled in via git subtree.
Diffstat (limited to 'nx-X11/extras/Mesa.patches_6.4.1/4003_CreatePixmap-AllocationHints.patch')
-rw-r--r--nx-X11/extras/Mesa.patches_6.4.1/4003_CreatePixmap-AllocationHints.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa.patches_6.4.1/4003_CreatePixmap-AllocationHints.patch b/nx-X11/extras/Mesa.patches_6.4.1/4003_CreatePixmap-AllocationHints.patch
new file mode 100644
index 000000000..f2caf2812
--- /dev/null
+++ b/nx-X11/extras/Mesa.patches_6.4.1/4003_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)