[cairo-commit] glitz/src/egl glitz_egl_info.c,1.1,1.2
David Reveman
commit at pdx.freedesktop.org
Tue Jun 14 23:02:53 PDT 2005
Committed by: davidr
Update of /cvs/cairo/glitz/src/egl
In directory gabe:/tmp/cvs-serv10874/src/egl
Modified Files:
glitz_egl_info.c
Log Message:
Fix thread support in egl backend
Index: glitz_egl_info.c
===================================================================
RCS file: /cvs/cairo/glitz/src/egl/glitz_egl_info.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- glitz_egl_info.c 19 May 2005 13:30:49 -0000 1.1
+++ glitz_egl_info.c 15 Jun 2005 06:02:51 -0000 1.2
@@ -125,7 +125,7 @@
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 @@
thread_info->cctx = NULL;
}
-#define PTHREADS
+
#ifdef PTHREADS
/* thread safe */
More information about the cairo-commit
mailing list