From 2b632c8e20df20b4fb049d43cd0e708424ef24ed Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 1 Feb 2020 09:49:35 +0100 Subject: [PATCH] cocoa: use resolved filename to load cursor image (thanks treamous) --- panda/src/cocoadisplay/cocoaGraphicsWindow.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/cocoadisplay/cocoaGraphicsWindow.mm b/panda/src/cocoadisplay/cocoaGraphicsWindow.mm index 84a722e5c6..ebb35589df 100644 --- a/panda/src/cocoadisplay/cocoaGraphicsWindow.mm +++ b/panda/src/cocoadisplay/cocoaGraphicsWindow.mm @@ -1351,7 +1351,7 @@ load_image_data(const Filename &filename) { cocoadisplay_cat.info() << "Loading NSImage from file " << resolved << "\n"; - PT(VirtualFile) vfile = vfs->get_file(filename); + PT(VirtualFile) vfile = vfs->get_file(resolved); if (vfile == NULL) { return nil; }