summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/17-drawstress/drawstress.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/17-drawstress/drawstress.cpp')
-rw-r--r--3rdparty/bgfx/examples/17-drawstress/drawstress.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/bgfx/examples/17-drawstress/drawstress.cpp b/3rdparty/bgfx/examples/17-drawstress/drawstress.cpp
index 5cc97337946..69dd2fef099 100644
--- a/3rdparty/bgfx/examples/17-drawstress/drawstress.cpp
+++ b/3rdparty/bgfx/examples/17-drawstress/drawstress.cpp
@@ -97,7 +97,7 @@ class ExampleDrawStress : public entry::AppI
bgfx::reset(m_width, m_height, m_reset);
const bgfx::Caps* caps = bgfx::getCaps();
- m_maxDim = (int32_t)powf(float(caps->maxDrawCalls), 1.0f/3.0f);
+ m_maxDim = (int32_t)bx::fpow(float(caps->limits.maxDrawCalls), 1.0f/3.0f);
// Enable debug text.
bgfx::setDebug(m_debug);