aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/egl_impl.h
diff options
context:
space:
mode:
authorDan Gudmundsson <dgud@erlang.org>2010-10-22 15:45:28 +0200
committerDan Gudmundsson <dgud@erlang.org>2010-11-15 10:13:07 +0100
commit2e605129613ba88427de27520a19456903d40cca (patch)
tree4c3c1caf3e7d32200ab0d3fcc58cd124ffde11f1 /lib/wx/c_src/egl_impl.h
parent029429cae951a9896d544eb7693fd130e4abc979 (diff)
downloadotp-2e605129613ba88427de27520a19456903d40cca.tar.gz
otp-2e605129613ba88427de27520a19456903d40cca.tar.bz2
otp-2e605129613ba88427de27520a19456903d40cca.zip
Update to OpenGL 4.1
Diffstat (limited to 'lib/wx/c_src/egl_impl.h')
-rw-r--r--lib/wx/c_src/egl_impl.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/wx/c_src/egl_impl.h b/lib/wx/c_src/egl_impl.h
index 5909ebd96e..e93e4caefd 100644
--- a/lib/wx/c_src/egl_impl.h
+++ b/lib/wx/c_src/egl_impl.h
@@ -125,14 +125,20 @@ typedef int64_t GLint64EXT;
typedef uint64_t GLuint64EXT;
#endif
+#ifndef GL_ARB_sync
+typedef int64_t GLint64;
+typedef uint64_t GLuint64;
+typedef struct __GLsync *GLsync;
+#endif
+
/* External Api */
#ifdef _WIN32
extern "C" __declspec(dllexport) int egl_init_opengl(void *);
-extern "C" __declspec(dllexport) void egl_dispatch(int, char *, ErlDrvPort, ErlDrvTermData, char **);
+extern "C" __declspec(dllexport) void egl_dispatch(int, char *, ErlDrvPort, ErlDrvTermData, char **, int *);
#else
extern "C" int egl_init_opengl(void *);
-extern "C" void egl_dispatch(int, char *, ErlDrvPort, ErlDrvTermData, char **);
+extern "C" void egl_dispatch(int, char *, ErlDrvPort, ErlDrvTermData, char **, int *);
#endif
/* internal */