Fix for previous commit

This commit is contained in:
2014-11-18 12:44:56 +01:00
parent 3ae0126f86
commit a08ac5513f

View File

@@ -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!");
}