diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2021-02-04 14:52:18 +0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-02-04 15:58:54 +0100 |
commit | c110d949b8166a633179edcf3390a42673ac843c (patch) | |
tree | bb5099fe6b8fcbfffdf525c1bc1678adfe7e4a1c /ui/sdl2-gl.c | |
parent | f988e3c0c60dd25352281d9c6cf3df18532ca26d (diff) | |
download | qemu-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/sdl2-gl.c')
-rw-r--r-- | ui/sdl2-gl.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/ui/sdl2-gl.c b/ui/sdl2-gl.c index c73d273..82139ba 100644 --- a/ui/sdl2-gl.c +++ b/ui/sdl2-gl.c @@ -185,14 +185,6 @@ int sdl2_gl_make_context_current(DisplayChangeListener *dcl, return SDL_GL_MakeCurrent(scon->real_window, sdlctx); } -QEMUGLContext sdl2_gl_get_current_context(DisplayChangeListener *dcl) -{ - SDL_GLContext sdlctx; - - sdlctx = SDL_GL_GetCurrentContext(); - return (QEMUGLContext)sdlctx; -} - void sdl2_gl_scanout_disable(DisplayChangeListener *dcl) { struct sdl2_console *scon = container_of(dcl, struct sdl2_console, dcl); |