Rename ui_cocoa_window.h
This commit is contained in:
parent
07ca97618d
commit
f17b4fba05
|
@ -89,7 +89,7 @@ static bool g_is_syncing = true;
|
||||||
static bool g_use_hw_ctx;
|
static bool g_use_hw_ctx;
|
||||||
|
|
||||||
#if defined(HAVE_COCOA)
|
#if defined(HAVE_COCOA)
|
||||||
#include "../../ui/drivers/cocoa/ui_cocoa_window.h"
|
#include "../../ui/drivers/ui_cocoa.h"
|
||||||
static NSOpenGLPixelFormat* g_format;
|
static NSOpenGLPixelFormat* g_format;
|
||||||
|
|
||||||
void *glcontext_get_ptr(void)
|
void *glcontext_get_ptr(void)
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include "cocoa_common.h"
|
#include "cocoa_common.h"
|
||||||
#ifdef HAVE_COCOA
|
#ifdef HAVE_COCOA
|
||||||
#include "ui_cocoa_window.h"
|
#include "../ui_cocoa.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define compatibility symbols and categories. */
|
/* Define compatibility symbols and categories. */
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "cocoa_common.h"
|
#include "cocoa_common.h"
|
||||||
#include "ui_cocoa_window.h"
|
#include "../ui_cocoa.h"
|
||||||
#include "../../ui_companion_driver.h"
|
#include "../../ui_companion_driver.h"
|
||||||
|
|
||||||
static void ui_window_cocoa_destroy(void *data)
|
static void ui_window_cocoa_destroy(void *data)
|
||||||
|
|
|
@ -14,8 +14,8 @@
|
||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _COCOA_WINDOW_UI
|
#ifndef _COCOA_UI
|
||||||
#define _COCOA_WINDOW_UI
|
#define _COCOA_UI
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
@ -23,12 +23,17 @@
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
|
|
||||||
#include "cocoa_common.h"
|
#include "cocoa/cocoa_common.h"
|
||||||
|
|
||||||
#include "../../ui_companion_driver.h"
|
#include "../ui_companion_driver.h"
|
||||||
|
|
||||||
RETRO_BEGIN_DECLS
|
RETRO_BEGIN_DECLS
|
||||||
|
|
||||||
|
typedef struct ui_application_cocoa
|
||||||
|
{
|
||||||
|
void *empty;
|
||||||
|
} ui_application_cocoa_t;
|
||||||
|
|
||||||
typedef struct ui_window_cocoa
|
typedef struct ui_window_cocoa
|
||||||
{
|
{
|
||||||
CocoaView *data;
|
CocoaView *data;
|
Loading…
Reference in New Issue