diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-11-18 14:44:56 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-11-18 14:44:56 +0300 |
commit | a08ac5513f690bbef18367be41ad9a8e63848ea7 (patch) | |
tree | efca9e845dbc763fc1b2a394b644602de8a9b43b /source | |
parent | 3ae0126f86a01803ba5955e5ec6f3ca6d614349a (diff) |
Fix for previous commit
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/gpu/intern/gpu_extensions.c | 2 |
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!"); } |