[cogl] egl-x11: Don't use GLXDrawable on EGL
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] egl-x11: Don't use GLXDrawable on EGL
- Date: Tue, 31 Jul 2012 15:43:37 +0000 (UTC)
commit f05d6923fff28b1d167a391d486e319743c49215
Author: Damien Lespiau <damien lespiau intel com>
Date: Fri Jul 27 14:40:12 2012 +0100
egl-x11: Don't use GLXDrawable on EGL
Someone trying to compile cogl (ThijsNL on irc0 for the Rasberry Pi
stumbled into that one. GLXDrawable may not be defined in a pure EGL/X
environment.
Change it to Window, the type used for XConfigureEvent.window.
Reviewed-by: Neil Roberts <neil linux intel com>
cogl/winsys/cogl-winsys-egl-x11.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cogl/winsys/cogl-winsys-egl-x11.c b/cogl/winsys/cogl-winsys-egl-x11.c
index 4e264d5..1b02ac0 100644
--- a/cogl/winsys/cogl-winsys-egl-x11.c
+++ b/cogl/winsys/cogl-winsys-egl-x11.c
@@ -91,7 +91,7 @@ find_onscreen_for_xid (CoglContext *context, uint32_t xid)
static void
notify_resize (CoglContext *context,
- GLXDrawable drawable,
+ Window drawable,
int width,
int height)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]