Browse Source

Removed debug function.

Juan Linietsky 6 years ago
parent
commit
31656301b2
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/gles2/rasterizer_storage_gles2.cpp

+ 0 - 1
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)) {