From 52d2491a1bafb979d79bb970027c55788f199acb Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 26 Jul 2012 15:19:14 +0100 Subject: sna/video: Protect against attempting to use TexturedVideo whilst wedged Signed-off-by: Chris Wilson --- src/sna/sna_video_textured.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sna/sna_video_textured.c') diff --git a/src/sna/sna_video_textured.c b/src/sna/sna_video_textured.c index 2332ce20..27fc09f4 100644 --- a/src/sna/sna_video_textured.c +++ b/src/sna/sna_video_textured.c @@ -235,7 +235,7 @@ sna_video_textured_put_image(ScrnInfoPtr scrn, return BadAlloc; } - if (!sna_pixmap_force_to_gpu(pixmap, MOVE_READ | MOVE_WRITE)) { + if (!sna_pixmap_move_to_gpu(pixmap, MOVE_READ | MOVE_WRITE)) { DBG(("%s: attempting to render to a non-GPU pixmap\n", __FUNCTION__)); return BadAlloc; -- cgit v1.2.3