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>()>;
|
using CreateImageCB = std::function<std::unique_ptr<Image>()>;
|
||||||
|
|
||||||
Engine(Platform* platform);
|
Engine(Platform* platform);
|
||||||
~Engine();
|
virtual ~Engine();
|
||||||
|
|
||||||
static Engine& Get();
|
static Engine& Get();
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ void ImguiBackend::Render() {
|
||||||
ImGui::Render();
|
ImGui::Render();
|
||||||
|
|
||||||
ImDrawData* draw_data = ImGui::GetDrawData();
|
ImDrawData* draw_data = ImGui::GetDrawData();
|
||||||
if (draw_data->CmdListsCount < -0)
|
if (draw_data->CmdListsCount <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
float L = draw_data->DisplayPos.x;
|
float L = draw_data->DisplayPos.x;
|
||||||
|
|
Loading…
Reference in New Issue