window: Report an error if we cannot load the pointer files

This commit is contained in:
Rob Bradford 2011-10-25 12:19:36 +01:00
parent bf8bd5aa3a
commit 21223bf6d1

View File

@ -671,6 +671,10 @@ create_pointer_surfaces(struct display *display)
display_create_surface_from_file(display,
pointer_images[i].filename,
&rect);
if (!display->pointer_surfaces[i]) {
fprintf(stderr, "Error loading pointer image: %s\n",
pointer_images[i].filename);
}
}
}