diff options
Diffstat (limited to 'src/sna/sna_video_textured.c')
-rw-r--r-- | src/sna/sna_video_textured.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c index d99f8847..1aaf9723 100644 --- a/src/sna/sna_video_textured.c +++ b/src/sna/sna_video_textured.c @@ -271,7 +271,7 @@ sna_video_textured_put_image(ScrnInfoPtr scrn, return BadAlloc; } - assert(frame.bo->size >= frame.size); + assert(kgem_bo_size(frame.bo) >= frame.size); } else { frame.bo = kgem_create_linear(&sna->kgem, frame.size); if (frame.bo == NULL) { |