summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/x11/native_dri2.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-11-03 16:07:23 +0800
committerChia-I Wu <olv@lunarg.com>2010-11-03 16:08:47 +0800
commit828d944fd6670b44b2dd640a92bc0f9fe983a520 (patch)
tree43051bbc2b761039686742b8af9789dcad96ee85 /src/gallium/state_trackers/egl/x11/native_dri2.c
parent250d81da256fc919544f8c97b4e2364d3795f6c0 (diff)
st/egl: Remove flush_frontbuffer and swap_buffers.
They are deprecated by native_surface::present and there is no user of them.
Diffstat (limited to 'src/gallium/state_trackers/egl/x11/native_dri2.c')
-rw-r--r--src/gallium/state_trackers/egl/x11/native_dri2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/x11/native_dri2.c b/src/gallium/state_trackers/egl/x11/native_dri2.c
index a8df58a076..331a7de432 100644
--- a/src/gallium/state_trackers/egl/x11/native_dri2.c
+++ b/src/gallium/state_trackers/egl/x11/native_dri2.c
@@ -456,8 +456,6 @@ dri2_display_create_surface(struct native_display *ndpy,
dri2surf->color_format = dri2conf->base.color_format;
dri2surf->base.destroy = dri2_surface_destroy;
- dri2surf->base.swap_buffers = dri2_surface_swap_buffers;
- dri2surf->base.flush_frontbuffer = dri2_surface_flush_frontbuffer;
dri2surf->base.present = dri2_surface_present;
dri2surf->base.validate = dri2_surface_validate;
dri2surf->base.wait = dri2_surface_wait;