mirror of
https://github.com/mpv-player/mpv
synced 2025-02-06 15:11:58 +00:00
client API: fix compiler warning if openglcb API is disabled
The function is void, and of course you can't return anything from it. (Why does C or gcc even allow this?)
This commit is contained in:
parent
16a5971d28
commit
cb347a9d05
@ -1634,7 +1634,6 @@ void mpv_opengl_cb_set_update_callback(mpv_opengl_cb_context *ctx,
|
||||
mpv_opengl_cb_update_fn callback,
|
||||
void *callback_ctx)
|
||||
{
|
||||
return MPV_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
int mpv_opengl_cb_init_gl(mpv_opengl_cb_context *ctx, const char *exts,
|
||||
mpv_opengl_cb_get_proc_address_fn get_proc_address,
|
||||
|
Loading…
Reference in New Issue
Block a user