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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-22 11:54:31 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-22 15:17:52 +0300
commitbc46034752454314673ac0b38ae050fd3b4ae502 (patch)
tree3be078487c983eea43aa2c70c8f14bcfd0d98446 /source/blender/gpu/intern/gpu_texture.c
parent0d2aa1a7bb2048dcb81bddcbb620cdd4f023faf8 (diff)
Cleanup: fix compiler warnings.
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.c')
-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 5c8edfb2a33..9bd4bbd89e9 100644
--- a/source/blender/gpu/intern/gpu_texture.c
+++ b/source/blender/gpu/intern/gpu_texture.c
@@ -886,6 +886,7 @@ GPUTexture *GPU_texture_create_from_vertbuf(Gwn_VertBuf *vert)
break;
default:
BLI_assert(0);
+ return NULL;
}
return GPU_texture_create_buffer(data_type, vert->vbo_id);