mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Fixed texture mip mismatch.
This commit is contained in:
@@ -4109,6 +4109,7 @@ namespace bgfx { namespace d3d11
|
||||
, imageContainer.m_numLayers
|
||||
, imageContainer.m_format
|
||||
);
|
||||
ti.numMips = bx::min<uint8_t>(imageContainer.m_numMips-startLod, ti.numMips);
|
||||
|
||||
m_flags = _flags;
|
||||
m_width = ti.width;
|
||||
|
||||
Reference in New Issue
Block a user