mirror of
https://github.com/libretro/RetroArch
synced 2025-04-15 23:42:30 +00:00
Revert "Compatibility fixes for OSX PPC"
This reverts commit d7899c51aa7ef7b752be97409dafdca8d9597e11.
This commit is contained in:
parent
70f9abe99f
commit
a58511ec00
@ -286,10 +286,6 @@ static void frontend_darwin_get_name(char *s, size_t len)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef MAC_OS_X_VERSION_10_10
|
|
||||||
#define MAC_OS_X_VERSION_10_10 101000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void frontend_darwin_get_os(char *s, size_t len, int *major, int *minor)
|
static void frontend_darwin_get_os(char *s, size_t len, int *major, int *minor)
|
||||||
{
|
{
|
||||||
#if defined(IOS)
|
#if defined(IOS)
|
||||||
|
@ -404,10 +404,6 @@ static void cocoagl_gfx_ctx_show_mouse(void *data, bool state)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef MAC_OS_X_VERSION_10_10
|
|
||||||
#define MAC_OS_X_VERSION_10_10 101000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
||||||
video_frame_info_t *video_info,
|
video_frame_info_t *video_info,
|
||||||
unsigned width, unsigned height, bool fullscreen)
|
unsigned width, unsigned height, bool fullscreen)
|
||||||
@ -450,7 +446,7 @@ static bool cocoagl_gfx_ctx_set_video_mode(void *data,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
|
#if MAC_OS_X_VERSION_10_10
|
||||||
if (g_major == 4 && g_minor == 1)
|
if (g_major == 4 && g_minor == 1)
|
||||||
{
|
{
|
||||||
attributes[6] = NSOpenGLPFAOpenGLProfile;
|
attributes[6] = NSOpenGLPFAOpenGLProfile;
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
#include "../../retroarch.h"
|
#include "../../retroarch.h"
|
||||||
#include "../../tasks/tasks_internal.h"
|
#include "../../tasks/tasks_internal.h"
|
||||||
|
|
||||||
#ifdef HAVE_METAL
|
#if HAVE_METAL
|
||||||
#import <Metal/Metal.h>
|
#import <Metal/Metal.h>
|
||||||
#import <MetalKit/MetalKit.h>
|
#import <MetalKit/MetalKit.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user