mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
29 lines
504 B
C
29 lines
504 B
C
|
#import <Cocoa/Cocoa.h>
|
||
|
#import <OpenGL/CGLRenderers.h>
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
|
||
|
void cocoaGLCreateApp();
|
||
|
|
||
|
NSWindow *cocoaGLCreateWindow(int w,int h);
|
||
|
|
||
|
void cocoaGLSetTitle(NSWindow *win, const char *title);
|
||
|
|
||
|
void cocoaGLMakeCurrent(NSOpenGLContext *ctx, NSWindow *win);
|
||
|
|
||
|
NSOpenGLContext* cocoaGLInit(int mode);
|
||
|
|
||
|
void cocoaGLDelete(NSOpenGLContext *ctx);
|
||
|
|
||
|
void cocoaGLDeleteWindow(NSWindow *window);
|
||
|
|
||
|
void cocoaGLSwap(NSOpenGLContext *ctx,NSWindow *window);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|