mirror of https://github.com/auygun/kaliber.git
Fix for compile warnings
This commit is contained in:
parent
010c6b097c
commit
2eb571b1ff
|
@ -38,7 +38,7 @@ class Engine : public PlatformObserver {
|
|||
using CreateImageCB = std::function<std::unique_ptr<Image>()>;
|
||||
|
||||
Engine(Platform* platform);
|
||||
~Engine();
|
||||
virtual ~Engine();
|
||||
|
||||
static Engine& Get();
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ void ImguiBackend::Render() {
|
|||
ImGui::Render();
|
||||
|
||||
ImDrawData* draw_data = ImGui::GetDrawData();
|
||||
if (draw_data->CmdListsCount < -0)
|
||||
if (draw_data->CmdListsCount <= 0)
|
||||
return;
|
||||
|
||||
float L = draw_data->DisplayPos.x;
|
||||
|
|
Loading…
Reference in New Issue