diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-16 15:38:18 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-16 15:39:30 +0100 |
commit | 7a6bd55da90382459db072bffbd4aa36d18f9a17 (patch) | |
tree | 97a1072f77b3b09edb8168be2d4ff5f5ddb39f88 /src/sna/sna_video.h | |
parent | cb35a0b19a4a1c9ac4e2bb552a61057c215ce890 (diff) |
sna/video: Don't assert on a client error, return BadAlloc
If the client sends a BO that is too small to satifsy the PutImage, then
reject with BadAlloc rather than die with an assert.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_video.h')
0 files changed, 0 insertions, 0 deletions