mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #524 from Nodrev/bugfix-createTexture-backbuffer-ratio
Textures created with BackbufferRatio::enum are not sized correctly
This commit is contained in:
commit
d885f32a50
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