Move apple_view_type to apple_platform.h
This commit is contained in:
parent
b59a13771c
commit
7aab4e3d71
|
@ -154,15 +154,6 @@ bool core_options_remove_override(bool game_specific);
|
||||||
void core_options_reset(void);
|
void core_options_reset(void);
|
||||||
void core_options_flush(void);
|
void core_options_flush(void);
|
||||||
|
|
||||||
typedef enum apple_view_type
|
|
||||||
{
|
|
||||||
APPLE_VIEW_TYPE_NONE = 0,
|
|
||||||
APPLE_VIEW_TYPE_OPENGL_ES,
|
|
||||||
APPLE_VIEW_TYPE_OPENGL,
|
|
||||||
APPLE_VIEW_TYPE_VULKAN,
|
|
||||||
APPLE_VIEW_TYPE_METAL
|
|
||||||
} apple_view_type_t;
|
|
||||||
|
|
||||||
enum rarch_state_flags
|
enum rarch_state_flags
|
||||||
{
|
{
|
||||||
RARCH_FLAGS_HAS_SET_USERNAME = (1 << 0),
|
RARCH_FLAGS_HAS_SET_USERNAME = (1 << 0),
|
||||||
|
|
|
@ -6,6 +6,15 @@
|
||||||
#import <MetalKit/MetalKit.h>
|
#import <MetalKit/MetalKit.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
typedef enum apple_view_type
|
||||||
|
{
|
||||||
|
APPLE_VIEW_TYPE_NONE = 0,
|
||||||
|
APPLE_VIEW_TYPE_OPENGL_ES,
|
||||||
|
APPLE_VIEW_TYPE_OPENGL,
|
||||||
|
APPLE_VIEW_TYPE_VULKAN,
|
||||||
|
APPLE_VIEW_TYPE_METAL
|
||||||
|
} apple_view_type_t;
|
||||||
|
|
||||||
#if defined(HAVE_COCOA_METAL) && !defined(HAVE_COCOATOUCH)
|
#if defined(HAVE_COCOA_METAL) && !defined(HAVE_COCOATOUCH)
|
||||||
@interface WindowListener : NSResponder<NSWindowDelegate>
|
@interface WindowListener : NSResponder<NSWindowDelegate>
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue