From 4faf60d90351cdae66ef767b63ae7a4f70dc49d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 15 Sep 2018 08:22:29 -0700 Subject: [PATCH] Cleanup. --- src/bgfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index b6a22b531..369ee9b5c 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -5702,7 +5702,7 @@ BGFX_C_API void bgfx_encoder_set_instance_data_from_dynamic_vertex_buffer(bgfx_e BGFX_C_API void bgfx_encoder_set_instance_count(bgfx_encoder_s* _encoder, uint32_t _numInstances) { - BGFX_ENCODER(setVertexCount(_numInstances) ); + BGFX_ENCODER(setInstanceCount(_numInstances) ); } BGFX_C_API void bgfx_encoder_set_texture(bgfx_encoder_s* _encoder, uint8_t _stage, bgfx_uniform_handle_t _sampler, bgfx_texture_handle_t _handle, uint32_t _flags)