summaryrefslogtreecommitdiff
path: root/cogl/cogl-renderer.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2011-12-14 12:09:53 +0000
committerNeil Roberts <neil@linux.intel.com>2011-12-14 16:45:17 +0000
commitbdcbb8af4db9a94614b848da49ccc1f65cda285d (patch)
tree313c0571df54339de16a10274110b3f24d132086 /cogl/cogl-renderer.c
parent616d27f16952d04809398edbf8f9494aac76055a (diff)
downloadcogl-bdcbb8af4db9a94614b848da49ccc1f65cda285d.tar.gz
Update the SDL winsys
The SDL winsys was missing a few minor features, such as the implementation. This patch adds that in. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-renderer.c')
-rw-r--r--cogl/cogl-renderer.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cogl/cogl-renderer.c b/cogl/cogl-renderer.c
index 5e5ae044..5f65383f 100644
--- a/cogl/cogl-renderer.c
+++ b/cogl/cogl-renderer.c
@@ -74,6 +74,9 @@ extern const CoglWinsysVtable *_cogl_winsys_glx_get_vtable (void);
#ifdef COGL_HAS_WGL_SUPPORT
extern const CoglWinsysVtable *_cogl_winsys_wgl_get_vtable (void);
#endif
+#ifdef COGL_HAS_SDL_SUPPORT
+extern const CoglWinsysVtable *_cogl_winsys_sdl_get_vtable (void);
+#endif
typedef const CoglWinsysVtable *(*CoglWinsysVtableGetter) (void);
@@ -103,6 +106,9 @@ static CoglWinsysVtableGetter _cogl_winsys_vtable_getters[] =
#ifdef COGL_HAS_WGL_SUPPORT
_cogl_winsys_wgl_get_vtable,
#endif
+#ifdef COGL_HAS_SDL_SUPPORT
+ _cogl_winsys_sdl_get_vtable,
+#endif
_cogl_winsys_stub_get_vtable,
};