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:
authorClément Foucault <foucault.clem@gmail.com>2018-03-26 10:59:12 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-03-26 10:59:12 +0300
commit92b61dc16dc7d1ab7bd4144fd7a0f16a85c2335b (patch)
treee9041055b430878a4bc57c54e225d6663cfcdc23 /source/blender/gpu/intern
parent41852c8a8cb9e7c35a04476042ed57a20a03860d (diff)
GPUTexture: Fix compilation issue.
Diffstat (limited to 'source/blender/gpu/intern')
-rw-r--r--source/blender/gpu/intern/gpu_texture.c1
1 files changed, 1 insertions, 0 deletions
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;
}