diff options
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r-- | src/radeon_dri2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index ebd813cc..919f1f67 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -444,6 +444,10 @@ radeon_dri2_create_buffer2(ScreenPtr pScreen, info->exa_force_create = TRUE; exaMoveInPixmap(pixmap); info->exa_force_create = FALSE; + if (exaGetPixmapDriverPrivate(pixmap) == NULL) { + /* this happen if pixmap is non accelerable */ + goto error; + } } if (is_glamor_pixmap) |