Fixed warnings.

This commit is contained in:
Branimir Karadžić
2017-03-12 18:25:23 -07:00
parent ccbb067746
commit 5375aa5a03
20 changed files with 99 additions and 91 deletions

View File

@@ -121,7 +121,7 @@ class DebugDrawApp : public entry::AppI
bx::mtxProj(proj, 60.0f, float(m_width)/float(m_height), 0.1f, 100.0f, bgfx::getCaps()->homogeneousDepth);
bgfx::setViewTransform(0, view, proj);
bgfx::setViewRect(0, 0, 0, m_width, m_height);
bgfx::setViewRect(0, 0, 0, uint16_t(m_width), uint16_t(m_height) );
}
float zero[3] = {};