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:
authorAntony Riakiotakis <kalast@gmail.com>2014-11-18 14:44:56 +0300
committerAntony Riakiotakis <kalast@gmail.com>2014-11-18 14:44:56 +0300
commita08ac5513f690bbef18367be41ad9a8e63848ea7 (patch)
treeefca9e845dbc763fc1b2a394b644602de8a9b43b
parent3ae0126f86a01803ba5955e5ec6f3ca6d614349a (diff)
Fix for previous commit
-rw-r--r--source/blender/gpu/intern/gpu_extensions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 10a8783cf6a..37a787be20e 100644
--- a/source/blender/gpu/intern/gpu_extensions.c
+++ b/source/blender/gpu/intern/gpu_extensions.c
@@ -880,7 +880,7 @@ int GPU_framebuffer_texture_attach(GPUFrameBuffer *fb, GPUTexture *tex, int slot
return 0;
}
- if (tex->target != -1) {
+ if (tex->number != -1) {
fprintf(stderr, "Feedback loop warning!: Attempting to attach texture to framebuffer while still bound to texture unit for drawing!");
}