mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-13 04:25:36 +00:00
Replaced bgfx::setProgram function with bgfx::submit argument. Added bgfx::touch and bgfx::getStats.
This commit is contained in:
@@ -327,11 +327,10 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||
);
|
||||
}
|
||||
bgfx::setUniform(u_lightMtx, lightMtx);
|
||||
bgfx::setProgram(st.m_program);
|
||||
bgfx::setIndexBuffer(ibh);
|
||||
bgfx::setVertexBuffer(vbh);
|
||||
bgfx::setState(st.m_state);
|
||||
bgfx::submit(st.m_viewId);
|
||||
bgfx::submit(st.m_viewId, st.m_program);
|
||||
}
|
||||
|
||||
// Bunny.
|
||||
|
||||
Reference in New Issue
Block a user