diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2012-09-12 18:44:10 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2012-09-12 18:44:10 +0200 |
commit | 40b87f0e9db2642ca8a70e994fb4d3742e199640 (patch) | |
tree | 6442873c4effebf30c5e1158a65a7a2ac5c90912 /src | |
parent | 646ffd49d2cf0d3130301e8ad2f49f620bd9ef1b (diff) |
glamor: Fix DRI2 crash introduced by PRIME changes.
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 02fe66d4..7c5898c1 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -358,7 +358,7 @@ radeon_dri2_create_buffer2(ScreenPtr pScreen, pixmap->refcnt++; } - if (!pixmap && attachment != DRI2BufferFrontLeft) { + if (!pixmap && (is_glamor_pixmap || attachment != DRI2BufferFrontLeft)) { /* tile the back buffer */ switch(attachment) { case DRI2BufferDepth: |