cogl: remove OSX/WIN32 specific bits in favour of a stub winsys
Until Cogl gains native win32/OSX support this remove the osx and win32 winsys files and instead we'll just rely on the stub-winsys.c to handle these platforms. Since the only thing the platform specific files were providing anyway was a get_proc_address function; it was trivial to simply update the clutter backend code to handle this directly for now.
This commit is contained in:
@ -229,7 +229,7 @@ clutter_backend_win32_get_features (ClutterBackend *backend)
|
||||
CLUTTER_NOTE (BACKEND, "vblank sync: left at default at user request");
|
||||
else if (cogl_clutter_check_extension ("WGL_EXT_swap_control", extensions)
|
||||
&& (swap_interval = (SwapIntervalProc)
|
||||
cogl_get_proc_address ("wglSwapIntervalEXT")))
|
||||
wglGetProcAddress ((LPCSTR) "wglSwapIntervalEXT")))
|
||||
{
|
||||
/* According to the specification for the WGL_EXT_swap_control
|
||||
extension the default swap interval is 1 anyway, so if no
|
||||
|
Reference in New Issue
Block a user