Textures created with BackbufferRatio::enum where not sized correctly when bgfx first reset size was different from 1280x720px
This commit is contained in:
parent
f05443c0e7
commit
350b77091c
@ -2674,8 +2674,8 @@ again:
|
||||
|
||||
if (BackbufferRatio::Count != _ratio)
|
||||
{
|
||||
_width = uint16_t(s_ctx->m_frame->m_resolution.m_width);
|
||||
_height = uint16_t(s_ctx->m_frame->m_resolution.m_height);
|
||||
_width = uint16_t(s_ctx->m_resolution.m_width);
|
||||
_height = uint16_t(s_ctx->m_resolution.m_height);
|
||||
getTextureSizeFromRatio(_ratio, _width, _height);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user