mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 13:04:35 +00:00
parent
7e806a8567
commit
7341f8b635
@ -30,6 +30,9 @@ guide in the GLFW documentation.
|
|||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
- [Cocoa] Bugfix: Using a 1x1 cursor for hidden mode caused some screen
|
||||||
|
recorders to fail
|
||||||
|
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
|
|
||||||
|
@ -427,7 +427,7 @@ static int translateKey(unsigned int key)
|
|||||||
{
|
{
|
||||||
if (_glfw.ns.cursor == nil)
|
if (_glfw.ns.cursor == nil)
|
||||||
{
|
{
|
||||||
NSImage* data = [[NSImage alloc] initWithSize:NSMakeSize(1, 1)];
|
NSImage* data = [[NSImage alloc] initWithSize:NSMakeSize(16, 16)];
|
||||||
_glfw.ns.cursor = [[NSCursor alloc] initWithImage:data
|
_glfw.ns.cursor = [[NSCursor alloc] initWithImage:data
|
||||||
hotSpot:NSZeroPoint];
|
hotSpot:NSZeroPoint];
|
||||||
[data release];
|
[data release];
|
||||||
|
Loading…
Reference in New Issue
Block a user