summaryrefslogtreecommitdiff
path: root/cogl/cogl-feature-private.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-01-01 21:45:07 +0000
committerRobert Bragg <robert@linux.intel.com>2012-01-04 19:27:20 +0000
commitdef67a39fe9ca2c270af9a1a17e377a65829bb2f (patch)
tree7e6dd2e53208415982a93be6d903be44660e2e6d /cogl/cogl-feature-private.c
parent04a71afab5adf546a32e9d8705fb40aa0e39c724 (diff)
downloadcogl-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-feature-private.c')
-rw-r--r--cogl/cogl-feature-private.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/cogl-feature-private.c b/cogl/cogl-feature-private.c
index 44539da7..1708e3ae 100644
--- a/cogl/cogl-feature-private.c
+++ b/cogl/cogl-feature-private.c
@@ -159,7 +159,7 @@ error:
#define COGL_EXT_END() \
{ NULL, 0 }, \
};
-#include "cogl-ext-functions.h"
+#include "gl-prototypes/cogl-all-functions.h"
/* Define an array of features */
#undef COGL_EXT_BEGIN
@@ -178,7 +178,7 @@ error:
static const CoglFeatureData
cogl_feature_ext_functions_data[] =
{
-#include "cogl-ext-functions.h"
+#include "gl-prototypes/cogl-all-functions.h"
};
void