Discard flags for submit call

This commit is contained in:
Cedric Guillemet
2020-03-13 11:22:33 +01:00
committed by Бранимир Караџић
parent 78675e238d
commit 0881d98bd2
11 changed files with 120 additions and 112 deletions

View File

@@ -610,7 +610,7 @@ namespace
m_uniforms.submit();
bgfx::submit(1, m_programsDraw[m_shading], m_dispatchIndirect, 0, true);
bgfx::submit(1, m_programsDraw[m_shading], m_dispatchIndirect, 0, 1, 0, BGFX_DISCARD_NONE);
m_pingPong = 1 - m_pingPong;