|
|
@@ -107,7 +107,7 @@ struct OcornutImguiContext
|
|
|
float ortho[16];
|
|
|
bx::mtxOrtho(ortho, 0.0f, width, height, 0.0f, 0.0f, 1000.0f, 0.0f, caps->homogeneousDepth);
|
|
|
bgfx::setViewTransform(m_viewId, NULL, ortho);
|
|
|
- bgfx::setViewRect(m_viewId, 0, 0, width, height);
|
|
|
+ bgfx::setViewRect(m_viewId, 0, 0, uint16_t(width), uint16_t(height) );
|
|
|
}
|
|
|
|
|
|
// Render command lists
|