summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/01-cubes/cubes.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/01-cubes/cubes.cpp')
-rw-r--r--3rdparty/bgfx/examples/01-cubes/cubes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/bgfx/examples/01-cubes/cubes.cpp b/3rdparty/bgfx/examples/01-cubes/cubes.cpp
index b0e580647ea..c44b74f04a1 100644
--- a/3rdparty/bgfx/examples/01-cubes/cubes.cpp
+++ b/3rdparty/bgfx/examples/01-cubes/cubes.cpp
@@ -161,7 +161,7 @@ class ExampleCubes : public entry::AppI
bgfx::setViewTransform(0, view, proj);
// Set view 0 default viewport.
- bgfx::setViewRect(0, 0, 0, m_width, m_height);
+ bgfx::setViewRect(0, 0, 0, uint16_t(m_width), uint16_t(m_height) );
}
// This dummy draw call is here to make sure that view 0 is cleared