[Bf-blender-cvs] [a08ac55] master: Fix for previous commit

Antony Riakiotakis noreply at git.blender.org
Tue Nov 18 12:45:38 CET 2014


Commit: a08ac5513f690bbef18367be41ad9a8e63848ea7
Author: Antony Riakiotakis
Date:   Tue Nov 18 12:44:56 2014 +0100
Branches: master
https://developer.blender.org/rBa08ac5513f690bbef18367be41ad9a8e63848ea7

Fix for previous commit

===================================================================

M	source/blender/gpu/intern/gpu_extensions.c

===================================================================

diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c
index 10a8783..37a787b 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!");
 	}




More information about the Bf-blender-cvs mailing list