diff options
author | David Reveman <davidr@novell.com> | 2005-06-15 06:02:51 +0000 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2005-06-15 06:02:51 +0000 |
commit | d0ccadf30b458cad6a73a542970db8ec664827a2 (patch) | |
tree | ad63e7101a4f51bdadf5de13d80e401ce37c39a8 /src | |
parent | ac7fa260d3a6c6e52202fd8f5eddd691374d5fb2 (diff) |
Fix thread support in egl backend
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/glitz_egl_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/glitz_egl_info.c b/src/egl/glitz_egl_info.c index 514de5c..f8627b4 100644 --- a/src/egl/glitz_egl_info.c +++ b/src/egl/glitz_egl_info.c @@ -125,7 +125,7 @@ glitz_egl_get_proc_address (const char *name, glitz_function_pointer_t address = NULL; if (screen_info->egl_feature_mask & GLITZ_EGL_FEATURE_GET_PROC_ADDRESS_MASK) - address = eglGetProcAddress ((glitz_gl_ubyte_t *) name); + address = eglGetProcAddress ((char *) name); if (!address) { if (!info->dlhand) @@ -173,7 +173,7 @@ _glitz_egl_thread_info_fini (glitz_egl_thread_info_t *thread_info) thread_info->cctx = NULL; } -#define PTHREADS + #ifdef PTHREADS /* thread safe */ |