diff options
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index ad7e69cc..8ca8d318 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -182,6 +182,9 @@ typedef enum { #if XF86_CRTC_VERSION >= 5 #define RADEON_PIXMAP_SHARING 1 +#define radeon_is_gpu_screen(screen) (screen)->isGPU +#else +#define radeon_is_gpu_screen(screen) 0 #endif #define RADEON_VSYNC_TIMEOUT 20000 /* Maximum wait for VSYNC (in usecs) */ |