summaryrefslogtreecommitdiff
path: root/src/glamor_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glamor_utils.h')
-rw-r--r--src/glamor_utils.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glamor_utils.h b/src/glamor_utils.h
index 263e3ba..c6af8c0 100644
--- a/src/glamor_utils.h
+++ b/src/glamor_utils.h
@@ -1798,7 +1798,6 @@ static inline void glamor_make_current(ScreenPtr screen)
static inline void glamor_restore_current(ScreenPtr screen)
{
- glamor_egl_restore_context(screen);
}
static inline glamor_gl_dispatch *
@@ -1813,8 +1812,6 @@ glamor_get_dispatch(glamor_screen_private *glamor_priv)
static inline void
glamor_put_dispatch(glamor_screen_private *glamor_priv)
{
- if (glamor_priv->flags & GLAMOR_USE_EGL_SCREEN)
- glamor_restore_current(glamor_priv->screen);
}
#endif