From 31656301b2cfe3710a1bfe8d636eb8206d31dd7b Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 24 Feb 2019 23:12:27 -0300 Subject: [PATCH] Removed debug function. --- drivers/gles2/rasterizer_storage_gles2.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index 8d81242c053..29e125e8a2e 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 &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)) {