diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-22 11:54:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-22 15:17:52 +0300 |
commit | bc46034752454314673ac0b38ae050fd3b4ae502 (patch) | |
tree | 3be078487c983eea43aa2c70c8f14bcfd0d98446 /source/blender/gpu/intern/gpu_texture.c | |
parent | 0d2aa1a7bb2048dcb81bddcbb620cdd4f023faf8 (diff) |
Cleanup: fix compiler warnings.
Diffstat (limited to 'source/blender/gpu/intern/gpu_texture.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_texture.c | 1 |
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); |