mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed texture mip mismatch.
This commit is contained in:
@@ -2920,6 +2920,7 @@ namespace bgfx { namespace d3d9
|
||||
, 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