Removed linking from premake5.lua

- I will note that linking should be done by the target application (e.g Hazelnut)
This commit is contained in:
Peter Nilsson 2023-04-20 19:53:22 +02:00
parent d385754e12
commit 62fad91c8b
2 changed files with 1 additions and 6 deletions

View File

@ -96,11 +96,6 @@ project "GLFW"
"_CRT_SECURE_NO_WARNINGS"
}
links
{
"Dwmapi.lib"
}
filter "configurations:Debug"
runtime "Debug"
symbols "on"

View File

@ -552,7 +552,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
SetRectEmpty(&border_thickness);
if (GetWindowLongPtr(hWnd, GWL_STYLE) & WS_THICKFRAME)
{
AdjustWindowRectEx(&border_thickness, GetWindowLongPtr(hWnd, GWL_STYLE) & ~WS_CAPTION, FALSE, NULL);
AdjustWindowRectEx(&border_thickness, GetWindowLongPtr(hWnd, GWL_STYLE) & ~WS_CAPTION, FALSE, 0);
border_thickness.left *= -1;
border_thickness.top *= -1;
}