Skip to content

Commit 17df3d1

Browse files
committed
Temp change to disable depth texture
1 parent dc39f65 commit 17df3d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Core/Graphics/Source/DeviceImpl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ namespace Babylon::Graphics
179179
// Initialize bgfx.
180180
auto& init{m_state.Bgfx.InitState};
181181
bgfx::setPlatformData(init.platformData);
182+
init.resolution.formatDepthStencil = bgfx::TextureFormat::UnknownDepth;
182183
bgfx::init(init);
183184

184185
m_state.Bgfx.Initialized = true;

0 commit comments

Comments
 (0)