浏览代码

Removed debug function.

Juan Linietsky 6 年之前
父节点
当前提交
31656301b2
共有 1 个文件被更改,包括 0 次插入1 次删除
  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)) {