diff options
author | Fredrik Höglund <fredrik@kde.org> | 2014-02-11 20:49:58 +0100 |
---|---|---|
committer | Fredrik Höglund <fredrik@kde.org> | 2014-02-12 00:56:57 +0100 |
commit | e20b3ce6c7895f355fd1bad81b45341d98b5ee76 (patch) | |
tree | 2262dd8bc873d769194497ba61b1351af8a71f95 /src | |
parent | 87a099b141faa188be2a46976ce8657a213ab94b (diff) |
Fix EGLDisplay parameters in epoxy functions
EGLDisplay is typedefed as a pointer.
Diffstat (limited to 'src')
-rw-r--r-- | src/dispatch_egl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dispatch_egl.c b/src/dispatch_egl.c index 09eae00..8e13798 100644 --- a/src/dispatch_egl.c +++ b/src/dispatch_egl.c @@ -30,7 +30,7 @@ PUBLIC int epoxy_conservative_egl_version(void) { - EGLDisplay *dpy = eglGetCurrentDisplay(); + EGLDisplay dpy = eglGetCurrentDisplay(); if (!dpy) return 14; @@ -39,7 +39,7 @@ epoxy_conservative_egl_version(void) } PUBLIC int -epoxy_egl_version(EGLDisplay *dpy) +epoxy_egl_version(EGLDisplay dpy) { int major, minor; const char *version_string; @@ -54,7 +54,7 @@ epoxy_egl_version(EGLDisplay *dpy) bool epoxy_conservative_has_egl_extension(const char *ext) { - EGLDisplay *dpy = eglGetCurrentDisplay(); + EGLDisplay dpy = eglGetCurrentDisplay(); if (!dpy) return true; @@ -63,7 +63,7 @@ epoxy_conservative_has_egl_extension(const char *ext) } PUBLIC bool -epoxy_has_egl_extension(EGLDisplay *dpy, const char *ext) +epoxy_has_egl_extension(EGLDisplay dpy, const char *ext) { return epoxy_extension_in_string(eglQueryString(dpy, EGL_EXTENSIONS), ext); } |