pkgsrc/x11/xf86-video-ati6/patches/patch-src_radeon__exa__funcs.c
2014-10-26 10:20:42 +00:00

13 lines
543 B
C

$NetBSD: patch-src_radeon__exa__funcs.c,v 1.1 2014/10/26 10:20:42 wiz Exp $
--- src/radeon_exa_funcs.c.orig 2012-06-25 08:19:41.000000000 +0000
+++ src/radeon_exa_funcs.c
@@ -814,7 +814,7 @@ Bool FUNC_NAME(RADEONDrawInit)(ScreenPtr
info->accel_state->exa->DownloadFromScreen = RADEONDownloadFromScreenCP;
}
# if defined(XF86DRM_MODE)
- else {
+ else if (info->cs) {
info->accel_state->exa->UploadToScreen = &RADEONUploadToScreenCS;
info->accel_state->exa->DownloadFromScreen = &RADEONDownloadFromScreenCS;
}