diff --git a/src/graphics/graphics.h b/src/graphics/graphics.h index b9547a8..ad9ee85 100644 --- a/src/graphics/graphics.h +++ b/src/graphics/graphics.h @@ -128,12 +128,14 @@ ORCA_API void oc_surface_send_to_back(oc_surface surface); //DOC: puts surface //------------------------------------------------------------------------------------------ //SECTION: vsync //------------------------------------------------------------------------------------------ +#if !defined(OC_PLATFORM_ORCA) || !OC_PLATFORM_ORCA typedef void (*oc_vsync_callback)(void* data); ORCA_API void oc_vsync_init(void); ORCA_API void oc_vsync_wait(oc_window window); +#endif //------------------------------------------------------------------------------------------ //SECTION: graphics canvas structs //------------------------------------------------------------------------------------------