#if guard vsync API from Orca apps
This commit is contained in:
parent
18dff15cf1
commit
565bef5896
|
@ -128,12 +128,14 @@ ORCA_API void oc_surface_send_to_back(oc_surface surface); //DOC: puts surface
|
||||||
//------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------
|
||||||
//SECTION: vsync
|
//SECTION: vsync
|
||||||
//------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------
|
||||||
|
#if !defined(OC_PLATFORM_ORCA) || !OC_PLATFORM_ORCA
|
||||||
|
|
||||||
typedef void (*oc_vsync_callback)(void* data);
|
typedef void (*oc_vsync_callback)(void* data);
|
||||||
|
|
||||||
ORCA_API void oc_vsync_init(void);
|
ORCA_API void oc_vsync_init(void);
|
||||||
ORCA_API void oc_vsync_wait(oc_window window);
|
ORCA_API void oc_vsync_wait(oc_window window);
|
||||||
|
|
||||||
|
#endif
|
||||||
//------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------
|
||||||
//SECTION: graphics canvas structs
|
//SECTION: graphics canvas structs
|
||||||
//------------------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue