mirror of
https://github.com/glfw/glfw.git
synced 2024-11-14 18:34:34 +00:00
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:
parent
d385754e12
commit
62fad91c8b
@ -96,11 +96,6 @@ project "GLFW"
|
||||
"_CRT_SECURE_NO_WARNINGS"
|
||||
}
|
||||
|
||||
links
|
||||
{
|
||||
"Dwmapi.lib"
|
||||
}
|
||||
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user