diff --git a/src/virgl_glx.h b/src/virgl_glx.h index 50c0bdd..e5cecba 100644 --- a/src/virgl_glx.h +++ b/src/virgl_glx.h @@ -33,6 +33,5 @@ void virgl_glx_destroy(struct virgl_glx *ve); virgl_renderer_gl_context virgl_glx_create_context(struct virgl_glx *ve, struct virgl_gl_ctx_param *vparams); void virgl_glx_destroy_context(struct virgl_glx *ve, virgl_renderer_gl_context virglctx); int virgl_glx_make_context_current(struct virgl_glx *ve, virgl_renderer_gl_context virglctx); -virgl_renderer_gl_context virgl_glx_get_current_context(struct virgl_glx *ve); #endif diff --git a/src/virgl_glx_context.c b/src/virgl_glx_context.c index 4bc98dc..20630ca 100644 --- a/src/virgl_glx_context.c +++ b/src/virgl_glx_context.c @@ -102,8 +102,3 @@ int virgl_glx_make_context_current(struct virgl_glx *d, virgl_renderer_gl_contex { return glXMakeContextCurrent(d->display, d->pbuffer, d->pbuffer, virglctx); } - -virgl_renderer_gl_context virgl_glx_get_current_context(struct virgl_glx *d) -{ - return glXGetCurrentContext(); -}