summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2011-08-28 10:18:42 +0300
committerYonit Halperin <yhalperi@redhat.com>2011-08-28 11:20:28 +0300
commit3ca826cce277ca6c52aad4175aa96b283825ad25 (patch)
treebf2ef66e0b45bc2e1e2333bee7505a38f69af524
parentbb3791172cafb84e10ba26df5c78bbe35a069000 (diff)
display: add missing 'continue' in MoveAllSurfacesToVideoRam
-rw-r--r--display/surface.c1
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.