mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-09-18 00:14:27 +00:00
21-deferred: Fixed validation error. (#3767)
This commit is contained in:
committed by
GitHub
parent
a0959eaf39
commit
4e6c5a0f3a
@@ -552,7 +552,7 @@ public:
|
||||
;
|
||||
|
||||
m_gbufferTex[2] = bgfx::createTexture2D(uint16_t(m_width), uint16_t(m_height), false, 1, depthFormat, BGFX_TEXTURE_RT | tsFlags);
|
||||
gbufferAt[2].init(m_gbufferTex[2]);
|
||||
gbufferAt[2].init(m_gbufferTex[2], bgfx::Access::Write, 0, 1, 0, BGFX_RESOLVE_NONE);
|
||||
|
||||
m_gbuffer = bgfx::createFrameBuffer(BX_COUNTOF(gbufferAt), gbufferAt, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user