Skip to content
Snippets Groups Projects
Commit 59a2e376 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

add comment about the weird default image caching mechanism

parent f0c86f20
No related branches found
No related tags found
No related merge requests found
...@@ -406,5 +406,9 @@ void image_setup(void) ...@@ -406,5 +406,9 @@ void image_setup(void)
#if PD_MINOR_VERSION >= 37 #if PD_MINOR_VERSION >= 37
class_setsavefn(image_class, &image_save); class_setsavefn(image_class, &image_save);
#endif #endif
/* cache a default image (question mark) for case where no image argument
is given. The key is ("x%lxx%lxdefault", image_class, image_class),
to protect against namespace clashes with the complicated interface
of moonlib/image */
gui_vmess("gui_load_default_image", "sx", "dummy", image_class); gui_vmess("gui_load_default_image", "sx", "dummy", image_class);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment