mirror of
https://github.com/godotengine/godot
synced 2024-09-18 20:11:29 +00:00
parent
22c843b0c4
commit
65bb76ab35
|
@ -79,7 +79,7 @@ bool ResourceSaverPNG::recognize(const RES &p_resource) const {
|
|||
|
||||
void ResourceSaverPNG::get_recognized_extensions(const RES &p_resource, List<String> *p_extensions) const {
|
||||
|
||||
if (Object::cast_to<Texture>(*p_resource)) {
|
||||
if (Object::cast_to<ImageTexture>(*p_resource)) {
|
||||
p_extensions->push_back("png");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue