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:
Robert Bragg
2011-04-18 17:45:36 +01:00
parent 3d0a853c6f
commit 7a3d06c55c
6 changed files with 8 additions and 83 deletions

View File

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