summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2018-01-06 16:36:49 -0300
committerJuan Linietsky <reduzio@gmail.com>2018-01-06 16:38:36 -0300
commit50b975548dcd65a9506e7fb449d40404320c0983 (patch)
treeabc9f7287fb6a0d539de897ca69c318c0cbdb8f7 /modules/gdnative/gdnative.cpp
parentb6989d0b511ef4003d33f5987a5dafc45cb3a1cf (diff)
Removed PBM bitmap loader, added abiliy to importi mages as bitmap. Fixes #14828
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
-rw-r--r--modules/gdnative/gdnative.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp
index dec42dc17a..1379083b42 100644
--- a/modules/gdnative/gdnative.cpp
+++ b/modules/gdnative/gdnative.cpp
@@ -399,7 +399,6 @@ RES GDNativeLibraryResourceLoader::load(const String &p_path, const String &p_or
}
void GDNativeLibraryResourceLoader::get_recognized_extensions(List<String> *p_extensions) const {
- p_extensions->clear();
p_extensions->push_back("gdnlib");
}
@@ -438,7 +437,6 @@ bool GDNativeLibraryResourceSaver::recognize(const RES &p_resource) const {
void GDNativeLibraryResourceSaver::get_recognized_extensions(const RES &p_resource, List<String> *p_extensions) const {
if (Object::cast_to<GDNativeLibrary>(*p_resource) != NULL) {
- p_extensions->clear();
p_extensions->push_back("gdnlib");
}
}