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

Yonit Halperin yhalperi at redhat.com
Sun Aug 28 01:23:58 PDT 2011


---
 display/surface.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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.
-- 
1.7.4.4



More information about the Spice-devel mailing list