diff options
author | 2016-10-29 09:11:50 +0200 | |
---|---|---|
committer | 2016-10-29 09:11:50 +0200 | |
commit | a3b4058bf7266f1291cf38c30425d9948250fcd9 (patch) | |
tree | 46116c48b60368ac9c782c1d5e6e8ae16e558987 /3rdparty/bgfx/examples/07-callback/callback.cpp | |
parent | b99be73f2db5d3f81edc96a92ac4839e7f1cc3ab (diff) |
Updated BGFX and BX and recompiled shaders (nw)
Diffstat (limited to '3rdparty/bgfx/examples/07-callback/callback.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/07-callback/callback.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |