window: Report an error if we cannot load the pointer files
This commit is contained in:
@@ -671,6 +671,10 @@ create_pointer_surfaces(struct display *display)
|
|||||||
display_create_surface_from_file(display,
|
display_create_surface_from_file(display,
|
||||||
pointer_images[i].filename,
|
pointer_images[i].filename,
|
||||||
&rect);
|
&rect);
|
||||||
|
if (!display->pointer_surfaces[i]) {
|
||||||
|
fprintf(stderr, "Error loading pointer image: %s\n",
|
||||||
|
pointer_images[i].filename);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user