mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(CGL) Fix some linking errors when building with CXX_BUILD
This commit is contained in:
parent
2b1c52858d
commit
f597f3e4b0
@ -41,6 +41,10 @@ typedef int CGSSurfaceID;
|
||||
|
||||
typedef uint32_t _CGWindowID;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Undocumented CGS */
|
||||
extern CGSConnectionID CGSMainConnectionID(void);
|
||||
extern CGError CGSAddSurface(CGSConnectionID cid, _CGWindowID wid, CGSSurfaceID *sid);
|
||||
@ -50,6 +54,10 @@ extern CGError CGSOrderSurface(CGSConnectionID cid, _CGWindowID wid, CGSSurfaceI
|
||||
/* Undocumented CGL */
|
||||
extern CGLError CGLSetSurface(CGLContextObj gl, CGSConnectionID cid, CGSWindowID wid, CGSSurfaceID sid);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
typedef struct gfx_ctx_cgl_data
|
||||
{
|
||||
CGLContextObj glCtx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user