[cogl/wip/rib/cogl-1.12: 112/139] egl-x11: Don't use GLXDrawable on EGL
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl/wip/rib/cogl-1.12: 112/139] egl-x11: Don't use GLXDrawable on EGL
- Date: Wed, 15 Aug 2012 13:12:51 +0000 (UTC)
commit e5fea8b734a1e160c56655ec03634ab86d75691c
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>
(cherry picked from commit f05d6923fff28b1d167a391d486e319743c49215)
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]