mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 18:40:13 +01:00
Fix GLX build of xserver master branch.
The internal CreatePixmap API has been extended.
This commit is contained in:
parent
417cb2c182
commit
db2ec4502e
1 changed files with 5 additions and 0 deletions
|
|
@ -169,8 +169,13 @@ do { \
|
|||
|
||||
|
||||
/* CreatePixmap returns a PixmapPtr; so, it cannot be inside braces */
|
||||
#ifdef CREATE_PIXMAP_USAGE_SCRATCH
|
||||
#define XMesaCreatePixmap(__d,__b,__w,__h,__depth) \
|
||||
(*__d->CreatePixmap)(__d, __w, __h, __depth, 0)
|
||||
#else
|
||||
#define XMesaCreatePixmap(__d,__b,__w,__h,__depth) \
|
||||
(*__d->CreatePixmap)(__d, __w, __h, __depth)
|
||||
#endif
|
||||
|
||||
#define XMesaFreePixmap(__d,__b) \
|
||||
(*__d->DestroyPixmap)(__b)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue