UI: Support JXR image dropEvent on Windows

master
jpark37 2022-05-08 04:01:34 -07:00
parent 23f3b1da9f
commit 475d8432cb
1 changed files with 5 additions and 2 deletions

View File

@ -17,8 +17,11 @@ using namespace std;
static const char *textExtensions[] = {"txt", "log", nullptr};
static const char *imageExtensions[] = {"bmp", "tga", "png", "jpg",
"jpeg", "gif", "webp", nullptr};
static const char *imageExtensions[] = {"bmp", "gif", "jpeg", "jpg",
#ifdef _WIN32
"jxr",
#endif
"png", "tga", "webp", nullptr};
static const char *htmlExtensions[] = {"htm", "html", nullptr};