mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-10 18:15:32 +00:00
Added depth control, sample mask, and read-only depth/stencil attachments. (#3971)
This commit is contained in:
@@ -449,7 +449,7 @@ public:
|
||||
|
||||
{
|
||||
bgfx::Attachment at;
|
||||
at.init(m_mipRt, bgfx::Access::Write, 0, 1, 0, BGFX_RESOLVE_AUTO_GEN_MIPS);
|
||||
at.init(m_mipRt, bgfx::Access::Write, 0, 1, 0, BGFX_ATTACHMENT_AUTO_GEN_MIPS);
|
||||
m_mipFb = bgfx::createFrameBuffer(1, &at);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user