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)
This commit is contained in:
Damien Lespiau 2012-07-27 14:40:12 +01:00 committed by Robert Bragg
parent cbad21f0f4
commit e5fea8b734

View File

@ -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)
{