diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-09-05 03:55:22 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-09-05 18:49:14 +0300 |
commit | 8e4c0efbe36a1470efea2919053b58096e662f2b (patch) | |
tree | 5ca301084701f9c9093a543d67c489f451b6aafb /source/blender/gpu | |
parent | ab95cdaba970a30127d804bd1e66ad25ab021ec1 (diff) |
Cleanup: GPUTexture: Move debug messages outside of creation function
# Conflicts:
# source/blender/gpu/intern/gpu_framebuffer.cc
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.cc | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |