window: Report an error if we cannot load the pointer files
This commit is contained in:
parent
bf8bd5aa3a
commit
21223bf6d1
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user