[Bf-blender-cvs] [92b61dc16dc] blender2.8: GPUTexture: Fix compilation issue.

Clément Foucault noreply at git.blender.org
Mon Mar 26 10:03:03 CEST 2018


Commit: 92b61dc16dc7d1ab7bd4144fd7a0f16a85c2335b
Author: Clément Foucault
Date:   Mon Mar 26 09:59:12 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB92b61dc16dc7d1ab7bd4144fd7a0f16a85c2335b

GPUTexture: Fix compilation issue.

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

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

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

diff --git a/source/blender/gpu/intern/gpu_texture.c b/source/blender/gpu/intern/gpu_texture.c
index 2ccc9ce7ca7..75830f60f03 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -1062,4 +1062,5 @@ int GPU_texture_detach_framebuffer(GPUTexture *tex, GPUFrameBuffer *fb)
 	}
 
 	BLI_assert(!"Error: Texture: Framebuffer is not attached");
+	return 0;
 }



More information about the Bf-blender-cvs mailing list