mirror of
https://github.com/glfw/glfw.git
synced 2025-01-19 06:25:54 +00:00
parent
cf79f06257
commit
e2fa82ffbb
@ -231,6 +231,7 @@ information on what to include when reporting a bug.
|
|||||||
(#1315,#1316)
|
(#1315,#1316)
|
||||||
- [Win32] Bugfix: A title bar would be drawn over undecorated windows in some
|
- [Win32] Bugfix: A title bar would be drawn over undecorated windows in some
|
||||||
circumstances (#1383)
|
circumstances (#1383)
|
||||||
|
- [Win32] Bugfix: Standard cursors were not per-monitor DPI aware (#1431)
|
||||||
- [X11] Moved to XI2 `XI_RawMotion` for disable cursor mode motion input (#125)
|
- [X11] Moved to XI2 `XI_RawMotion` for disable cursor mode motion input (#125)
|
||||||
- [X11] Replaced `_GLFW_HAS_XF86VM` compile-time option with dynamic loading
|
- [X11] Replaced `_GLFW_HAS_XF86VM` compile-time option with dynamic loading
|
||||||
- [X11] Bugfix: `glfwGetVideoMode` would segfault on Cygwin/X
|
- [X11] Bugfix: `glfwGetVideoMode` would segfault on Cygwin/X
|
||||||
@ -439,6 +440,7 @@ skills.
|
|||||||
- przemekmirek
|
- przemekmirek
|
||||||
- Philip Rideout
|
- Philip Rideout
|
||||||
- Eddie Ringle
|
- Eddie Ringle
|
||||||
|
- Max Risuhin
|
||||||
- Jorge Rodriguez
|
- Jorge Rodriguez
|
||||||
- Ed Ropple
|
- Ed Ropple
|
||||||
- Aleksey Rybalkin
|
- Aleksey Rybalkin
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
// GLFW uses DirectInput8 interfaces
|
// GLFW uses DirectInput8 interfaces
|
||||||
#define DIRECTINPUT_VERSION 0x0800
|
#define DIRECTINPUT_VERSION 0x0800
|
||||||
|
|
||||||
// Enable standard cursors images defines
|
// GLFW uses OEM cursor resources
|
||||||
#define OEMRESOURCE
|
#define OEMRESOURCE
|
||||||
|
|
||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
|
@ -2016,8 +2016,9 @@ int _glfwPlatformCreateStandardCursor(_GLFWcursor* cursor, int shape)
|
|||||||
else
|
else
|
||||||
return GLFW_FALSE;
|
return GLFW_FALSE;
|
||||||
|
|
||||||
cursor->win32.handle =
|
cursor->win32.handle = LoadImageW(NULL,
|
||||||
(HCURSOR)LoadImage(NULL, MAKEINTRESOURCE(id), IMAGE_CURSOR, 0, 0, LR_DEFAULTSIZE | LR_SHARED);
|
MAKEINTRESOURCEW(id), IMAGE_CURSOR, 0, 0,
|
||||||
|
LR_DEFAULTSIZE | LR_SHARED);
|
||||||
if (!cursor->win32.handle)
|
if (!cursor->win32.handle)
|
||||||
{
|
{
|
||||||
_glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
|
_glfwInputErrorWin32(GLFW_PLATFORM_ERROR,
|
||||||
|
Loading…
Reference in New Issue
Block a user