summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-13 22:03:24 +0200
committerwm4 <wm4@nowhere>2015-05-13 22:03:24 +0200
commit5ab05f61ca7b3cd4cbb9ab35a27e6e98860bbe85 (patch)
treee85474db9d93e68831ae28089f38e6088ec42071 /video/out/gl_common.c
parentd89eb74cb757ab3bc864a7cd7fc05e3c96104ac9 (diff)
downloadmpv-5ab05f61ca7b3cd4cbb9ab35a27e6e98860bbe85.tar.bz2
mpv-5ab05f61ca7b3cd4cbb9ab35a27e6e98860bbe85.tar.xz
vo_opengl: remove mpgl_lock calls
Awkward stuff not needed anymore.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r--video/out/gl_common.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index fc3e9f0585..59e40a16bf 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -664,15 +664,3 @@ void mpgl_uninit(MPGLContext *ctx)
}
talloc_free(ctx);
}
-
-void mpgl_lock(MPGLContext *ctx)
-{
- if (ctx->set_current)
- ctx->set_current(ctx, true);
-}
-
-void mpgl_unlock(MPGLContext *ctx)
-{
- if (ctx->set_current)
- ctx->set_current(ctx, false);
-}