summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
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.h
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.h')
-rw-r--r--video/out/gl_common.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 7a941d78eb..deee69c15c 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -90,7 +90,6 @@ typedef struct MPGLContext {
void (*vo_uninit)(struct vo *vo);
int (*vo_control)(struct vo *vo, int *events, int request, void *arg);
void (*releaseGlContext)(struct MPGLContext *);
- void (*set_current)(struct MPGLContext *, bool current);
// Used on windows only, tries to vsync with the DWM, and modifies SwapInterval
// when it does so. Returns the possibly modified swapinterval value.
@@ -116,9 +115,6 @@ typedef struct MPGLContext {
void *priv;
} MPGLContext;
-void mpgl_lock(MPGLContext *ctx);
-void mpgl_unlock(MPGLContext *ctx);
-
MPGLContext *mpgl_init(struct vo *vo, const char *backend_name, int vo_flags);
void mpgl_uninit(MPGLContext *ctx);
bool mpgl_reconfig_window(struct MPGLContext *ctx, int vo_flags);