mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
dri3: unexport VERIFY_DRI3_SYNCOBJ() macro
Not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -64,6 +64,16 @@ typedef struct dri3_screen_priv {
|
||||
real->mem = priv->mem; \
|
||||
}
|
||||
|
||||
#define VERIFY_DRI3_SYNCOBJ(id, ptr, a)\
|
||||
do {\
|
||||
int rc = dixLookupResourceByType((void **)&(ptr), id,\
|
||||
dri3_syncobj_type, client, a);\
|
||||
if (rc != Success) {\
|
||||
client->errorValue = id;\
|
||||
return rc;\
|
||||
}\
|
||||
} while (0);
|
||||
|
||||
static inline dri3_screen_priv_ptr
|
||||
dri3_screen_priv(ScreenPtr screen)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user