[Spice-devel,qxl-win,v2,6/6] display: add missing 'continue' in MoveAllSurfacesToVideoRam

Submitted by Yonit Halperin on Aug. 28, 2011, 3:23 p.m.

Details

Message ID 1314519838-16161-7-git-send-email-yhalperi@redhat.com
State New, archived
Headers show

Not browsing as part of any series.

Commit Message

Yonit Halperin Aug. 28, 2011, 3:23 p.m.
---
 display/surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/display/surface.c b/display/surface.c
index 16723d3..2cc5895 100644
--- a/display/surface.c
+++ b/display/surface.c
@@ -307,6 +307,7 @@  int MoveAllSurfacesToVideoRam(PDev *pdev)
         if (surface_info->copy == NULL) {
             DEBUG_PRINT((pdev, 3, "%s: %p: %d: no copy buffer, ignored\n", __FUNCTION__,
                          pdev, surface_id));
+            continue;
         }
         if (!MoveSurfaceToVideoRam(pdev, surface_id)) {
             /* Some of the surfaces have not been moved to video ram.