mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 18:45:25 +00:00
gl_common: remove unneeded callback
We got rid of this some time ago, but apparently not completely.
This commit is contained in:
parent
2b39c5d87c
commit
597a143ec6
@ -70,7 +70,6 @@ void mpgl_set_backend_cocoa(MPGLContext *ctx)
|
||||
ctx->config_window = config_window_cocoa;
|
||||
ctx->releaseGlContext = releaseGlContext_cocoa;
|
||||
ctx->swapGlBuffers = swapGlBuffers_cocoa;
|
||||
ctx->check_events = vo_cocoa_check_events;
|
||||
ctx->vo_init = vo_cocoa_init;
|
||||
ctx->register_resize_callback = vo_cocoa_register_resize_callback;
|
||||
ctx->vo_uninit = vo_cocoa_uninit;
|
||||
|
@ -109,7 +109,6 @@ typedef struct MPGLContext {
|
||||
int requested_gl_version;
|
||||
|
||||
void (*swapGlBuffers)(struct MPGLContext *);
|
||||
int (*check_events)(struct vo *vo);
|
||||
int (*vo_init)(struct vo *vo);
|
||||
void (*vo_uninit)(struct vo *vo);
|
||||
int (*vo_control)(struct vo *vo, int *events, int request, void *arg);
|
||||
|
@ -206,7 +206,6 @@ void mpgl_set_backend_w32(MPGLContext *ctx)
|
||||
ctx->config_window = config_window_w32;
|
||||
ctx->releaseGlContext = releaseGlContext_w32;
|
||||
ctx->swapGlBuffers = swapGlBuffers_w32;
|
||||
ctx->check_events = vo_w32_check_events;
|
||||
ctx->vo_init = vo_w32_init;
|
||||
ctx->vo_uninit = vo_w32_uninit;
|
||||
ctx->vo_control = vo_w32_control;
|
||||
|
@ -311,7 +311,6 @@ void mpgl_set_backend_x11(MPGLContext *ctx)
|
||||
ctx->config_window = config_window_x11;
|
||||
ctx->releaseGlContext = releaseGlContext_x11;
|
||||
ctx->swapGlBuffers = swapGlBuffers_x11;
|
||||
ctx->check_events = vo_x11_check_events;
|
||||
ctx->vo_init = vo_x11_init;
|
||||
ctx->vo_uninit = vo_x11_uninit;
|
||||
ctx->vo_control = vo_x11_control;
|
||||
|
Loading…
Reference in New Issue
Block a user