summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/drm
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-11-03 16:07:23 +0800
committerChia-I Wu <[email protected]>2010-11-03 16:08:47 +0800
commit828d944fd6670b44b2dd640a92bc0f9fe983a520 (patch)
tree43051bbc2b761039686742b8af9789dcad96ee85 /src/gallium/state_trackers/egl/drm
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/drm')
-rw-r--r--src/gallium/state_trackers/egl/drm/modeset.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/egl/drm/modeset.c b/src/gallium/state_trackers/egl/drm/modeset.c
index 453730ffa5c..0cc06caa2a1 100644
--- a/src/gallium/state_trackers/egl/drm/modeset.c
+++ b/src/gallium/state_trackers/egl/drm/modeset.c
@@ -251,8 +251,6 @@ drm_display_create_surface(struct native_display *ndpy,
resource_surface_set_size(drmsurf->rsurf, drmsurf->width, drmsurf->height);
drmsurf->base.destroy = drm_surface_destroy;
- drmsurf->base.swap_buffers = drm_surface_swap_buffers;
- drmsurf->base.flush_frontbuffer = drm_surface_flush_frontbuffer;
drmsurf->base.present = drm_surface_present;
drmsurf->base.validate = drm_surface_validate;
drmsurf->base.wait = drm_surface_wait;