(CGL) Fix some linking errors when building with CXX_BUILD

This commit is contained in:
Twinaphex 2015-06-26 15:44:19 +02:00
parent 2b1c52858d
commit f597f3e4b0

View File

@ -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;