summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/10-font/font.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/examples/10-font/font.cpp')
-rw-r--r--3rdparty/bgfx/examples/10-font/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/bgfx/examples/10-font/font.cpp b/3rdparty/bgfx/examples/10-font/font.cpp
index a15cef4baae..6b95fdafae2 100644
--- a/3rdparty/bgfx/examples/10-font/font.cpp
+++ b/3rdparty/bgfx/examples/10-font/font.cpp
@@ -250,7 +250,7 @@ int _main_(int _argc, char** _argv)
float ortho[16];
bx::mtxOrtho(ortho, centering, width + centering, height + centering, centering, -1.0f, 1.0f);
bgfx::setViewTransform(0, view, ortho);
- bgfx::setViewRect(0, 0, 0, width, height);
+ bgfx::setViewRect(0, 0, 0, uint16_t(width), uint16_t(height) );
}
// Submit the debug text.