Fixed imguiCube scissor.
This commit is contained in:
Родитель
3206c318ae
Коммит
cc16fa3aa3
|
@ -32,11 +32,6 @@ struct Uniforms
|
|||
u_rgbSpec = bgfx::createUniform("u_rgbSpec", bgfx::UniformType::Uniform3fv);
|
||||
}
|
||||
|
||||
// Call this once at initialization.
|
||||
void submitConstUniforms()
|
||||
{
|
||||
}
|
||||
|
||||
// Call this once per frame.
|
||||
void submitPerFrameUniforms()
|
||||
{
|
||||
|
@ -513,8 +508,6 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
|||
|
||||
float time = 0.0f;
|
||||
|
||||
s_uniforms.submitConstUniforms();
|
||||
|
||||
int32_t leftScrollArea = 0;
|
||||
|
||||
entry::MouseState mouseState;
|
||||
|
|
|
@ -1732,6 +1732,7 @@ struct Imgui
|
|||
| BGFX_STATE_RGB_WRITE
|
||||
| BGFX_STATE_CULL_CW
|
||||
);
|
||||
setCurrentScissor();
|
||||
bgfx::submit(m_view);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче