context: remove unused function

Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Elie Tournier 6 years ago committed by Jakob Bornecrantz
parent e188b30203
commit 94a07ad532
  1. 1
      src/virgl_glx.h
  2. 5
      src/virgl_glx_context.c

@ -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

@ -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();
}

Loading…
Cancel
Save