|
|
bx::mtxOrtho(ortho, 0.0f, width, height, 0.0f, 0.0f, 1000.0f, 0.0f, caps->homogeneousDepth);
|
|
bx::mtxOrtho(ortho, 0.0f, width, height, 0.0f, 0.0f, 1000.0f, 0.0f, caps->homogeneousDepth);
|
|
|
bgfx::setViewTransform(m_viewId, NULL, ortho);
|
|
bgfx::setViewTransform(m_viewId, NULL, ortho);
|
|
|
|
|
+ bgfx::setViewRect(m_viewId, 0, 0, uint16_t(width), uint16_t(height) );
|