Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-09-05 03:55:22 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-05 18:49:14 +0300
commit8e4c0efbe36a1470efea2919053b58096e662f2b (patch)
tree5ca301084701f9c9093a543d67c489f451b6aafb /source/blender/blenkernel/intern/image_gpu.c
parentab95cdaba970a30127d804bd1e66ad25ab021ec1 (diff)
Cleanup: GPUTexture: Move debug messages outside of creation function
# Conflicts: # source/blender/gpu/intern/gpu_framebuffer.cc
Diffstat (limited to 'source/blender/blenkernel/intern/image_gpu.c')
-rw-r--r--source/blender/blenkernel/intern/image_gpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/image_gpu.c b/source/blender/blenkernel/intern/image_gpu.c
index 183129bf9b6..083d6c1d973 100644
--- a/source/blender/blenkernel/intern/image_gpu.c
+++ b/source/blender/blenkernel/intern/image_gpu.c
@@ -247,6 +247,7 @@ static GPUTexture **get_image_gpu_texture_ptr(Image *ima,
static GPUTexture *image_gpu_texture_error_create(eGPUTextureTarget textarget)
{
+ fprintf(stderr, "GPUTexture: Blender Texture Not Loaded!\n");
switch (textarget) {
case TEXTARGET_2D_ARRAY:
return GPU_texture_create_error(2, true);