mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Fix for MinGW compilation
GET_XBUTTON_WPARAM is not defined on legacy MinGW. Fixes #639.
This commit is contained in:
parent
e046d0696b
commit
dc373d2e0e
|
@ -37,6 +37,9 @@
|
|||
|
||||
#define _GLFW_WNDCLASSNAME L"GLFW30"
|
||||
|
||||
#ifndef GET_XBUTTON_WPARAM
|
||||
#define GET_XBUTTON_WPARAM(w) (HIWORD(w))
|
||||
#endif
|
||||
|
||||
// Returns the window style for the specified window
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue
Block a user