Skip to content

Commit 88434b7

Browse files
author
MHDtA-dev
committed
Fix: build
1 parent d82b258 commit 88434b7

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

Core/LogicalElements/Splitter.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#define LOGIGATES_SPLITTER_H
1919

2020
#include <iostream>
21+
#include <algorithm>
2122
#include "Base.h"
2223
#include "../../UI/Images.h"
2324

UI/Renderer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ namespace LogiGates::UI {
3232

3333
windowWidth = window->getWidth();
3434
windowHeight = window->getHeight();
35+
36+
#ifdef __APPLE__
3537
lastWindowWidth = windowWidth;
3638
lastWindowHeight = windowHeight;
39+
#endif
3740
}
3841

3942
Renderer::~Renderer() {

thirdparty/imgui/imgui_impl_sdl2.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
#include "imgui.h" // IMGUI_IMPL_API
2727
#ifndef IMGUI_DISABLE
2828

29+
#ifdef _WIN32
30+
#include <windows.h>
31+
#endif
32+
2933
struct SDL_Window;
3034
struct SDL_Renderer;
3135
struct _SDL_GameController;

0 commit comments

Comments
 (0)