summaryrefslogtreecommitdiff
path: root/display/surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'display/surface.c')
-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.