diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2015-03-18 12:30:09 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2015-03-18 12:30:09 +0900 |
commit | 4b0997e56dec0053cb2cb793e0f4ae35055ff7e6 (patch) | |
tree | a5b8b9b8de32f9e753539174e69d5a7aec164dcd /src/radeon_glamor.h | |
parent | af1862a37570fa512a525ab47d72b30400d2e2d6 (diff) |
glamor: Add glamor_fd_from_pixmap define for standalone glamor tree
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r-- | src/radeon_glamor.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); |