mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 00:42:57 +00:00
cocoa: remove an unused parameter
This commit is contained in:
parent
0ae0e90eb5
commit
f58d3591d9
@ -27,7 +27,7 @@ struct vo_cocoa_state;
|
||||
int vo_cocoa_init(struct vo *vo);
|
||||
void vo_cocoa_uninit(struct vo *vo);
|
||||
|
||||
int vo_cocoa_config_window(struct vo *vo, uint32_t flags, void *gl_ctx);
|
||||
int vo_cocoa_config_window(struct vo *vo, uint32_t flags);
|
||||
|
||||
void vo_cocoa_set_current_context(struct vo *vo, bool current);
|
||||
bool vo_cocoa_start_frame(struct vo *vo);
|
||||
|
@ -550,7 +550,7 @@ void vo_cocoa_release_nsgl_ctx(struct vo *vo)
|
||||
s->gl_ctx = nil;
|
||||
}
|
||||
|
||||
int vo_cocoa_config_window(struct vo *vo, uint32_t flags, void *gl_ctx)
|
||||
int vo_cocoa_config_window(struct vo *vo, uint32_t flags)
|
||||
{
|
||||
struct vo_cocoa_state *s = vo->cocoa;
|
||||
with_cocoa_lock_on_main_thread(vo, ^{
|
||||
|
@ -141,7 +141,7 @@ static bool config_window_cocoa(struct MPGLContext *ctx, int flags)
|
||||
if (!ctx->gl->SwapInterval)
|
||||
ctx->gl->SwapInterval = set_swap_interval;
|
||||
|
||||
vo_cocoa_config_window(ctx->vo, flags, p->ctx);
|
||||
vo_cocoa_config_window(ctx->vo, flags);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user