mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user