mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 02:25:37 -05:00
Cleanup.
This commit is contained in:
parent
459e211a26
commit
d7c679fc44
1 changed files with 2 additions and 2 deletions
|
@ -5047,8 +5047,8 @@ namespace bgfx { namespace gl
|
|||
|
||||
if (0 == colorIdx)
|
||||
{
|
||||
m_width = texture.m_width;
|
||||
m_height = texture.m_height;
|
||||
m_width = bx::uint32_max(texture.m_width >> m_attachment[ii].mip, 1);
|
||||
m_height = bx::uint32_max(texture.m_height >> m_attachment[ii].mip, 1);
|
||||
}
|
||||
|
||||
GLenum attachment = GL_COLOR_ATTACHMENT0 + colorIdx;
|
||||
|
|
Loading…
Reference in a new issue