Code cleanup
This commit is contained in:
parent
cd84777ada
commit
9ac41c788d
1 changed files with 2 additions and 5 deletions
|
|
@ -788,18 +788,15 @@ public:
|
|||
{
|
||||
if (!prepared)
|
||||
return;
|
||||
draw();
|
||||
updateUniformBufferComposition();
|
||||
updateUniformBufferOffscreen();
|
||||
draw();
|
||||
}
|
||||
|
||||
virtual void OnUpdateUIOverlay(vks::UIOverlay *overlay)
|
||||
{
|
||||
if (overlay->header("Settings")) {
|
||||
if (overlay->comboBox("Display", &debugDisplayTarget, {"Final composition", "Position", "Normals", "Albedo", "Specular" }))
|
||||
{
|
||||
updateUniformBufferComposition();
|
||||
}
|
||||
overlay->comboBox("Display", &debugDisplayTarget, { "Final composition", "Position", "Normals", "Albedo", "Specular" });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue