mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-26 04:05:58 +00:00
Added depth control, sample mask, and read-only depth/stencil attachments. (#3971)
This commit is contained in:
committed by
GitHub
parent
a5a3d30421
commit
2e51cb6aa9
@@ -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