summaryrefslogtreecommitdiffstats
path: root/src/egl/wayland/wayland-egl/wayland-egl.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2011-08-31 16:45:04 -0400
committerKristian Høgsberg <[email protected]>2011-08-31 18:33:47 -0400
commit7b1d94e5d1f53ac5f59000176aea1d02fc9a1181 (patch)
tree6fc9cb5fe6f09331998f7d210212a2c1289d1d18 /src/egl/wayland/wayland-egl/wayland-egl.c
parent447bb454d848d98134ff916ab8a3b316fb136c59 (diff)
wayland: Track changes to drop wl_visual
Diffstat (limited to 'src/egl/wayland/wayland-egl/wayland-egl.c')
-rw-r--r--src/egl/wayland/wayland-egl/wayland-egl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/egl/wayland/wayland-egl/wayland-egl.c b/src/egl/wayland/wayland-egl/wayland-egl.c
index c8f73ea8a3a..e950b4a644b 100644
--- a/src/egl/wayland/wayland-egl/wayland-egl.c
+++ b/src/egl/wayland/wayland-egl/wayland-egl.c
@@ -17,8 +17,7 @@ wl_egl_window_resize(struct wl_egl_window *egl_window,
WL_EGL_EXPORT struct wl_egl_window *
wl_egl_window_create(struct wl_surface *surface,
- int width, int height,
- struct wl_visual *visual)
+ int width, int height)
{
struct wl_egl_window *egl_window;
@@ -27,7 +26,6 @@ wl_egl_window_create(struct wl_surface *surface,
return NULL;
egl_window->surface = surface;
- egl_window->visual = visual;
wl_egl_window_resize(egl_window, width, height, 0, 0);
egl_window->attached_width = 0;
egl_window->attached_height = 0;
@@ -52,8 +50,7 @@ wl_egl_window_get_attached_size(struct wl_egl_window *egl_window,
}
WL_EGL_EXPORT struct wl_egl_pixmap *
-wl_egl_pixmap_create(int width, int height,
- struct wl_visual *visual, uint32_t flags)
+wl_egl_pixmap_create(int width, int height, uint32_t flags)
{
struct wl_egl_pixmap *egl_pixmap;
@@ -63,7 +60,6 @@ wl_egl_pixmap_create(int width, int height,
egl_pixmap->width = width;
egl_pixmap->height = height;
- egl_pixmap->visual = visual;
egl_pixmap->destroy = NULL;
egl_pixmap->buffer = NULL;