Commit 560c9564 authored by Mike Gabriel's avatar Mike Gabriel

Mesa.patches: Adapt Mesa to CreatePixmap allocation hint ABI bump.

parent aa50b35a
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)
4001_CreatePixmap-AllocationHints.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment