Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions present/present_priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include "dri3.h"

#if 0
#define DebugPresent(x) ErrorF x
#define DebugPresent(x) ErrorF (x)
#else
#define DebugPresent(x)
#endif
Expand Down Expand Up @@ -204,12 +204,12 @@ struct present_screen_priv {
};

#define wrap(priv,real,mem,func) {\
priv->mem = real->mem; \
real->mem = func; \
(priv)->mem = (real)->mem; \
(real)->mem = (func); \
}

#define unwrap(priv,real,mem) {\
real->mem = priv->mem; \
(real)->mem = (priv)->mem; \
}

static inline present_screen_priv_ptr
Expand Down
4 changes: 2 additions & 2 deletions present/present_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ proc_present_query_version(ClientPtr client)
if ((fence_id) == None) \
(fence_ptr) = NULL; \
else { \
int __rc__ = SyncVerifyFence(&fence_ptr, fence_id, client, access); \
int __rc__ = SyncVerifyFence(&(fence_ptr), (fence_id), (client), (access)); \
if (__rc__ != Success) \
return __rc__; \
} \
Expand All @@ -74,7 +74,7 @@ proc_present_query_version(ClientPtr client)
if ((crtc_id) == None) \
(crtc_ptr) = NULL; \
else { \
VERIFY_RR_CRTC(crtc_id, crtc_ptr, access); \
VERIFY_RR_CRTC((crtc_id), (crtc_ptr), (access)); \
} \
} while (0)

Expand Down
Loading