summaryrefslogtreecommitdiff
path: root/cogl/cogl.h
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-04-06 11:16:19 +0100
committerRobert Bragg <robert@linux.intel.com>2012-04-12 12:31:46 +0100
commit9a1f1df83fef8822c560a35049b73cd8fe7654af (patch)
tree48aee2d9bede9b5bed09e3a1125b82c3bdd55011 /cogl/cogl.h
parentd3215b802dc023c119fd74368ed06f2ef481b450 (diff)
downloadcogl-9a1f1df83fef8822c560a35049b73cd8fe7654af.tar.gz
Rework sdl integration api
This re-works the SDL integration api to simplify the integration for application developers and also allow Cogl to know when the application is about to go idle waiting for events so it can perform idle book-keeping work. Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl.h')
-rw-r--r--cogl/cogl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cogl/cogl.h b/cogl/cogl.h
index 3f1eb530..0e3c7b6f 100644
--- a/cogl/cogl.h
+++ b/cogl/cogl.h
@@ -117,6 +117,9 @@
* code has been migrated down into Cogl! */
#include <cogl/cogl-clutter.h>
#endif
+#ifdef COGL_HAS_SDL_SUPPORT
+#include <cogl/cogl-sdl.h>
+#endif
/*
* 2.0 only api...