From a3b4058bf7266f1291cf38c30425d9948250fcd9 Mon Sep 17 00:00:00 2001 From: Branimir Karadžić Date: Sat, 29 Oct 2016 09:11:50 +0200 Subject: Updated BGFX and BX and recompiled shaders (nw) --- 3rdparty/bgfx/examples/07-callback/callback.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '3rdparty/bgfx/examples/07-callback/callback.cpp') diff --git a/3rdparty/bgfx/examples/07-callback/callback.cpp b/3rdparty/bgfx/examples/07-callback/callback.cpp index cdc1b6b5b5a..c5d7d430707 100644 --- a/3rdparty/bgfx/examples/07-callback/callback.cpp +++ b/3rdparty/bgfx/examples/07-callback/callback.cpp @@ -377,7 +377,7 @@ int _main_(int _argc, char** _argv) // Enumerate supported backend renderers. bgfx::RendererType::Enum renderers[bgfx::RendererType::Count]; - uint8_t numRenderers = bgfx::getSupportedRenderers(renderers); + uint8_t numRenderers = bgfx::getSupportedRenderers(BX_COUNTOF(renderers), renderers); bgfx::init(bgfx::RendererType::Count == args.m_type ? renderers[bx::getHPCounter() % numRenderers] /* randomize renderer */ -- cgit v1.2.3-70-g09d2