diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-02-24 23:12:27 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-02-24 23:12:27 -0300 |
commit | 31656301b2cfe3710a1bfe8d636eb8206d31dd7b (patch) | |
tree | 0e31977c8ac59a2bbb7f811016d21bd93fb57e0f | |
parent | 74d0ed2236b333d0a292e15b9c2a9380c2c122a1 (diff) |
Removed debug function.
-rw-r--r-- | drivers/gles2/rasterizer_storage_gles2.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index 8d81242c05..29e125e8a2 100644 --- a/drivers/gles2/rasterizer_storage_gles2.cpp +++ b/drivers/gles2/rasterizer_storage_gles2.cpp @@ -491,7 +491,6 @@ void RasterizerStorageGLES2::texture_set_data(RID p_texture, const Ref<Image> &p img = img->duplicate(); } img->resize_to_po2(false); - img->save_png("res://popo.png"); } if (config.shrink_textures_x2 && (p_image->has_mipmaps() || !p_image->is_compressed()) && !(texture->flags & VS::TEXTURE_FLAG_USED_FOR_STREAMING)) { |