aboutsummaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-22 19:48:06 +0100
committerSimon Ser <contact@emersion.fr>2024-02-23 18:52:48 +0100
commit54e1fefd2e29cb00dff7c02801913d793ceab7d6 (patch)
tree55ebccd61be18e468da4995fbde6390f797208dd /render
parentc31d307971da6088c76fca9a057a6426cc59df22 (diff)
render/egl: drop wlr_egl_is_current()
This is unused.
Diffstat (limited to 'render')
-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