浏览代码

UI: Add webp to dropfiles

gxalpha 3 年之前
父节点
当前提交
358ef281c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UI/window-basic-main-dropfiles.cpp

+ 1 - 1
UI/window-basic-main-dropfiles.cpp

@@ -18,7 +18,7 @@ using namespace std;
 static const char *textExtensions[] = {"txt", "log", nullptr};
 
 static const char *imageExtensions[] = {"bmp",  "tga", "png",  "jpg",
-					"jpeg", "gif", nullptr};
+					"jpeg", "gif", "webp", nullptr};
 
 static const char *htmlExtensions[] = {"htm", "html", nullptr};