aboutsummaryrefslogtreecommitdiff
path: root/render/egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/egl.c')
-rw-r--r--render/egl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/render/egl.c b/render/egl.c
index d2e0af9a..19868ca8 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -674,10 +674,6 @@ bool wlr_egl_unset_current(struct wlr_egl *egl) {
return true;
}
-bool wlr_egl_is_current(struct wlr_egl *egl) {
- return eglGetCurrentContext() == egl->context;
-}
-
bool wlr_egl_restore_context(struct wlr_egl_context *context) {
// If the saved context is a null-context, we must use the current
// display instead of the saved display because eglMakeCurrent() can't