mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 17:29:18 +02:00
MacOS native build fixes (#9)
* Added fWindowXScale and fWindowYScale to support retina/hi-res displays on MacOS * Fixed mouse handling for hi-res/retina displays on MacOS with legacy renderer * Gated glfwGetWindowContentScale with endif checking glfw version
This commit is contained in:
@@ -113,6 +113,8 @@ struct global_settings {
|
||||
// gfx
|
||||
int iWindowWidth{ 800 };
|
||||
int iWindowHeight{ 600 };
|
||||
float fWindowXScale { 1.0f };
|
||||
float fWindowYScale { 1.0f };
|
||||
float fDistanceFactor{ 1.f }; // baza do przeliczania odległości dla LoD
|
||||
float targetfps{ 0.0f };
|
||||
bool bFullScreen{ false };
|
||||
|
||||
Reference in New Issue
Block a user