summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2011-07-22 19:06:11 +0300
committerDamien Lespiau <damien.lespiau@intel.com>2011-07-29 11:50:15 +0100
commit388abe29071257325513bc40ebdfb66247b1ed01 (patch)
treeb51d82380f6c148a5d2b627de635883afd58a2e1
parenta53af153c35ef49eaf5cfdaa0699f969395c307b (diff)
downloadcogl-388abe29071257325513bc40ebdfb66247b1ed01.tar.gz
egl-gdl: struct gdl_plane never was a valid type
The enum for the planes is called gdl_plant_id_t. https://bugzilla.gnome.org/show_bug.cgi?id=655355
-rw-r--r--cogl/cogl-display-private.h2
-rw-r--r--cogl/cogl-display.c2
-rw-r--r--cogl/cogl-display.h.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/cogl/cogl-display-private.h b/cogl/cogl-display-private.h
index 2db5d556..179aa412 100644
--- a/cogl/cogl-display-private.h
+++ b/cogl/cogl-display-private.h
@@ -47,7 +47,7 @@ struct _CoglDisplay
#endif
#ifdef COGL_HAS_EGL_PLATFORM_GDL_SUPPORT
- struct gdl_plane *gdl_plane;
+ gdl_plane_id_t gdl_plane;
#endif
void *winsys;
diff --git a/cogl/cogl-display.c b/cogl/cogl-display.c
index db0d7cd6..86692530 100644
--- a/cogl/cogl-display.c
+++ b/cogl/cogl-display.c
@@ -127,7 +127,7 @@ cogl_display_setup (CoglDisplay *display,
#ifdef COGL_HAS_EGL_PLATFORM_GDL_SUPPORT
void
cogl_gdl_display_set_plane (CoglDisplay *display,
- struct gdl_plane *plane)
+ gdl_plane_id_t plane)
{
g_return_if_fail (display->setup == FALSE);
diff --git a/cogl/cogl-display.h.in b/cogl/cogl-display.h.in
index 8294a8a2..11db8650 100644
--- a/cogl/cogl-display.h.in
+++ b/cogl/cogl-display.h.in
@@ -91,7 +91,7 @@ cogl_display_setup (CoglDisplay *display,
cogl_gdl_display_set_plane_EXP
void
cogl_gdl_display_set_plane (CoglDisplay *display,
- struct gdl_plane *plane);
+ gdl_plane_id_t plane);
#endif
#ifdef COGL_HAS_WAYLAND_EGL_SERVER_SUPPORT