aboutsummaryrefslogtreecommitdiff
path: root/ui/egl-context.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2021-02-04 14:52:18 +0400
committerGerd Hoffmann <kraxel@redhat.com>2021-02-04 15:58:54 +0100
commitc110d949b8166a633179edcf3390a42673ac843c (patch)
treebb5099fe6b8fcbfffdf525c1bc1678adfe7e4a1c /ui/egl-context.c
parentf988e3c0c60dd25352281d9c6cf3df18532ca26d (diff)
downloadqemu-c110d949b8166a633179edcf3390a42673ac843c.zip
qemu-c110d949b8166a633179edcf3390a42673ac843c.tar.gz
qemu-c110d949b8166a633179edcf3390a42673ac843c.tar.bz2
ui: remove gl_ctx_get_current
There are no users left. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20210204105232.834642-7-marcandre.lureau@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/egl-context.c')
-rw-r--r--ui/egl-context.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/egl-context.c b/ui/egl-context.c
index 4aa1cbb..368ffa4 100644
--- a/ui/egl-context.c
+++ b/ui/egl-context.c
@@ -35,8 +35,3 @@ int qemu_egl_make_context_current(DisplayChangeListener *dcl,
return eglMakeCurrent(qemu_egl_display,
EGL_NO_SURFACE, EGL_NO_SURFACE, ctx);
}
-
-QEMUGLContext qemu_egl_get_current_context(DisplayChangeListener *dcl)
-{
- return eglGetCurrentContext();
-}