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:
wm4 2014-12-22 12:47:05 +01:00
parent 16a5971d28
commit cb347a9d05
1 changed files with 0 additions and 1 deletions

View File

@ -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,