diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-01-01 21:45:07 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-01-04 19:27:20 +0000 |
commit | def67a39fe9ca2c270af9a1a17e377a65829bb2f (patch) | |
tree | 7e6dd2e53208415982a93be6d903be44660e2e6d /cogl/cogl-context-private.h | |
parent | 04a71afab5adf546a32e9d8705fb40aa0e39c724 (diff) | |
download | cogl-def67a39fe9ca2c270af9a1a17e377a65829bb2f.tar.gz |
gl-prototypes: split up cogl-ext-functions.h
This splits up cogl-ext-functions.h in to sets of prototypes that
can be included separately so that we can include just core
gles1 or gles2 functions without any extensions.
Since eglGetProcAddress can not be used to query core client APIs
and some implementations (notably on Android) can return a garbage
pointer instead of NULL this will allow us to explicitly check
when to use eglGetProcAddress and when to use dlsym().
Reviewed-by: Neil Roberts <neil@linux.intel.com>
Diffstat (limited to 'cogl/cogl-context-private.h')
-rw-r--r-- | cogl/cogl-context-private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-context-private.h b/cogl/cogl-context-private.h index b67c7e78..946d24ac 100644 --- a/cogl/cogl-context-private.h +++ b/cogl/cogl-context-private.h @@ -292,7 +292,7 @@ struct _CoglContext ret (APIENTRY * name) args; #define COGL_EXT_END() -#include "cogl-ext-functions.h" +#include "gl-prototypes/cogl-all-functions.h" #undef COGL_EXT_BEGIN #undef COGL_EXT_FUNCTION |