diff options
author | Kristian Høgsberg <[email protected]> | 2011-08-31 16:45:04 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2011-08-31 18:33:47 -0400 |
commit | 7b1d94e5d1f53ac5f59000176aea1d02fc9a1181 (patch) | |
tree | 6fc9cb5fe6f09331998f7d210212a2c1289d1d18 /src/egl/wayland/wayland-egl | |
parent | 447bb454d848d98134ff916ab8a3b316fb136c59 (diff) |
wayland: Track changes to drop wl_visual
Diffstat (limited to 'src/egl/wayland/wayland-egl')
-rw-r--r-- | src/egl/wayland/wayland-egl/wayland-egl-priv.h | 2 | ||||
-rw-r--r-- | src/egl/wayland/wayland-egl/wayland-egl.c | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/egl/wayland/wayland-egl/wayland-egl-priv.h b/src/egl/wayland/wayland-egl/wayland-egl-priv.h index 179f5cf199b..accd2ddca84 100644 --- a/src/egl/wayland/wayland-egl/wayland-egl-priv.h +++ b/src/egl/wayland/wayland-egl/wayland-egl-priv.h @@ -16,7 +16,6 @@ extern "C" { struct wl_egl_window { struct wl_surface *surface; - struct wl_visual *visual; int width; int height; @@ -28,7 +27,6 @@ struct wl_egl_window { }; struct wl_egl_pixmap { - struct wl_visual *visual; struct wl_buffer *buffer; int width; 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; |