summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2005-06-15 06:02:51 +0000
committerDavid Reveman <davidr@novell.com>2005-06-15 06:02:51 +0000
commitd0ccadf30b458cad6a73a542970db8ec664827a2 (patch)
treead63e7101a4f51bdadf5de13d80e401ce37c39a8 /src
parentac7fa260d3a6c6e52202fd8f5eddd691374d5fb2 (diff)
Fix thread support in egl backend
Diffstat (limited to 'src')
-rw-r--r--src/egl/glitz_egl_info.c4
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 */