From 4b0997e56dec0053cb2cb793e0f4ae35055ff7e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Wed, 18 Mar 2015 12:30:09 +0900 Subject: glamor: Add glamor_fd_from_pixmap define for standalone glamor tree --- src/radeon_glamor.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/radeon_glamor.h') diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h index c402a10a..f450f0ee 100644 --- a/src/radeon_glamor.h +++ b/src/radeon_glamor.h @@ -35,6 +35,10 @@ #include "radeon_surface.h" +#ifndef GLAMOR_NO_DRI3 +#define glamor_fd_from_pixmap glamor_dri3_fd_from_pixmap +#endif + Bool radeon_glamor_pre_init(ScrnInfoPtr scrn); Bool radeon_glamor_init(ScreenPtr screen); Bool radeon_glamor_create_screen_resources(ScreenPtr screen); -- cgit v1.2.3