aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/extras/Mesa.patches/4001_CreatePixmap-AllocationHints.patch
blob: f2caf281238b6907d8f91b40a3ee2425152591f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)