mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue