From 8e4c0efbe36a1470efea2919053b58096e662f2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Sat, 5 Sep 2020 02:55:22 +0200 Subject: Cleanup: GPUTexture: Move debug messages outside of creation function # Conflicts: # source/blender/gpu/intern/gpu_framebuffer.cc --- source/blender/gpu/intern/gpu_texture.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/gpu/intern') diff --git a/source/blender/gpu/intern/gpu_texture.cc b/source/blender/gpu/intern/gpu_texture.cc index 914aa8617a9..bdbf623a391 100644 --- a/source/blender/gpu/intern/gpu_texture.cc +++ b/source/blender/gpu/intern/gpu_texture.cc @@ -325,7 +325,6 @@ GPUTexture *GPU_texture_create_error(int dimension, bool is_array) type = (dimension == 2) ? (is_array ? GPU_TEXTURE_2D_ARRAY : GPU_TEXTURE_2D) : type; type = (dimension == 1) ? (is_array ? GPU_TEXTURE_1D_ARRAY : GPU_TEXTURE_1D) : type; - fprintf(stderr, "GPUTexture: Blender Texture Not Loaded!"); return gpu_texture_create("invalid_tex", w, h, d, type, 1, GPU_RGBA8, pixel); } -- cgit v1.2.3