Debian Codegraph @

nx-X11/extras/Mesa.patches/4003_CreatePixmap-AllocationHints.patch

raw
1 Index: Mesa/include/GL/xmesa_xf86.h
2 ===================================================================
3 --- Mesa.orig/include/GL/xmesa_xf86.h
4 +++ Mesa/include/GL/xmesa_xf86.h
5 @@ -130,7 +130,7 @@ do { \
6
7 /* CreatePixmap returns a PixmapPtr; so, it cannot be inside braces */
8 #define XMesaCreatePixmap(__d,__b,__w,__h,__depth) \
9 - (*__d->CreatePixmap)(__d, __w, __h, __depth)
10 + (*__d->CreatePixmap)(__d, __w, __h, __depth, 0)
11
12 #define XMesaFreePixmap(__d,__b) \
13 (*__d->DestroyPixmap)(__b)