Cleanup: Silent compiler warning

A void function cannot return a value.
This commit is contained in:
2018-11-25 20:00:18 +01:00
parent 6c704b4632
commit 7051a95516

View File

@@ -3293,7 +3293,7 @@ void DRW_cache_mball_face_wireframe_get(
Object *ob, struct GPUTexture **r_vert_tx, struct GPUTexture **r_faceid_tx, int *r_tri_count)
{
BLI_assert(ob->type == OB_MBALL);
return DRW_metaball_batch_cache_get_wireframes_face_texbuf(ob, r_vert_tx, r_faceid_tx, r_tri_count);
DRW_metaball_batch_cache_get_wireframes_face_texbuf(ob, r_vert_tx, r_faceid_tx, r_tri_count);
}
GPUBatch **DRW_cache_mball_surface_shaded_get(