mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 05:43:34 +00:00
Cleanups
This commit is contained in:
parent
1fa89b642a
commit
f5417943c7
@ -121,7 +121,7 @@ static void app_terminate(void)
|
||||
case NSEventTypeRightMouseDragged:
|
||||
case NSEventTypeOtherMouseDragged:
|
||||
{
|
||||
NSPoint pos;
|
||||
CGPoint pos;
|
||||
apple = (cocoa_input_data_t*)input_driver_get_data();
|
||||
if (!apple)
|
||||
return;
|
||||
@ -168,9 +168,9 @@ static void app_terminate(void)
|
||||
{
|
||||
NSInteger number = event.buttonNumber;
|
||||
#ifdef HAVE_COCOA_METAL
|
||||
NSPoint pos = [apple_platform.renderView convertPoint:[event locationInWindow] fromView:nil];
|
||||
CGPoint pos = [apple_platform.renderView convertPoint:[event locationInWindow] fromView:nil];
|
||||
#else
|
||||
NSPoint pos = [[CocoaView get] convertPoint:[event locationInWindow] fromView:nil];
|
||||
CGPoint pos = [[CocoaView get] convertPoint:[event locationInWindow] fromView:nil];
|
||||
#endif
|
||||
apple = (cocoa_input_data_t*)input_driver_get_data();
|
||||
if (!apple || pos.y < 0)
|
||||
@ -185,9 +185,9 @@ static void app_terminate(void)
|
||||
{
|
||||
NSInteger number = event.buttonNumber;
|
||||
#ifdef HAVE_COCOA_METAL
|
||||
NSPoint pos = [apple_platform.renderView convertPoint:[event locationInWindow] fromView:nil];
|
||||
CGPoint pos = [apple_platform.renderView convertPoint:[event locationInWindow] fromView:nil];
|
||||
#else
|
||||
NSPoint pos = [[CocoaView get] convertPoint:[event locationInWindow] fromView:nil];
|
||||
CGPoint pos = [[CocoaView get] convertPoint:[event locationInWindow] fromView:nil];
|
||||
#endif
|
||||
apple = (cocoa_input_data_t*)input_driver_get_data();
|
||||
if (!apple || pos.y < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user