summaryrefslogtreecommitdiff
path: root/va/x11
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2017-06-19 19:09:12 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2017-09-27 12:48:16 +0800
commitb0e7feda096d7ae8146ba2e0c22b7bd59b768950 (patch)
treeede6e8ec07bbb4b449263c3b657a507a8b1557cd /va/x11
parent0190b72c557450d4b82c8dc26a5ebaac3df904ec (diff)
downloadlibva-b0e7feda096d7ae8146ba2e0c22b7bd59b768950.tar.gz
Move some common macro definitions to the new internal header
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'va/x11')
-rw-r--r--va/x11/va_x11.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/va/x11/va_x11.c b/va/x11/va_x11.c
index a8db4c8..ab53b9b 100644
--- a/va/x11/va_x11.c
+++ b/va/x11/va_x11.c
@@ -195,8 +195,6 @@ VADisplay vaGetDisplay (
return dpy;
}
-#define CTX(dpy) (((VADisplayContextP)dpy)->pDriverContext)
-#define CHECK_DISPLAY(dpy) if( !vaDisplayIsValid(dpy) ) { return VA_STATUS_ERROR_INVALID_DISPLAY; }
void va_TracePutSurface (
VADisplay dpy,