summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-01-13 11:30:55 -0800
committerChad Versace <[email protected]>2015-01-13 11:33:23 -0800
commit610c7486c24686429257d63403e275d56d7100b5 (patch)
treeebe9b4f6031627b43a6128531a12695e74d109d8
parent90d2a8519307effd4081baadf16067073f2aae49 (diff)
egl/wayland: Fix unused variable warnings
Remove ctx variables unused as of 70e8ccc459.
-rw-r--r--src/egl/drivers/dri2/platform_wayland.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/platform_wayland.c b/src/egl/drivers/dri2/platform_wayland.c
index e8b441316ee..3c34e071580 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -596,8 +596,6 @@ dri2_wl_swap_buffers_with_damage(_EGLDriver *drv,
{
struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp);
struct dri2_egl_surface *dri2_surf = dri2_egl_surface(draw);
- struct dri2_egl_context *dri2_ctx;
- _EGLContext *ctx;
int i;
for (i = 0; i < ARRAY_SIZE(dri2_surf->color_buffers); i++)