summaryrefslogtreecommitdiff
path: root/drivers/dummy/texture_loader_dummy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dummy/texture_loader_dummy.cpp')
-rw-r--r--drivers/dummy/texture_loader_dummy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dummy/texture_loader_dummy.cpp b/drivers/dummy/texture_loader_dummy.cpp
index 2dfc0afe78..bf51d76527 100644
--- a/drivers/dummy/texture_loader_dummy.cpp
+++ b/drivers/dummy/texture_loader_dummy.cpp
@@ -74,7 +74,7 @@ void ResourceFormatDummyTexture::get_recognized_extensions(List<String> *p_exten
}
bool ResourceFormatDummyTexture::handles_type(const String &p_type) const {
- return ClassDB::is_parent_class(p_type, "Texture");
+ return ClassDB::is_parent_class(p_type, "Texture2D");
}
String ResourceFormatDummyTexture::get_resource_type(const String &p_path) const {