diff options
author | wm4 <wm4@nowhere> | 2014-12-22 12:47:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-22 12:47:05 +0100 |
commit | cb347a9d05bf826f645c6d42b80db014cfc31827 (patch) | |
tree | d3e21890713409e465a9a4626676a25b0af921d6 /player | |
parent | 16a5971d28ae3ac72a9e38b00d73162ec24d56a9 (diff) |
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?)
Diffstat (limited to 'player')
-rw-r--r-- | player/client.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/player/client.c b/player/client.c index 4323f2e873..e83f3568f8 100644 --- a/player/client.c +++ b/player/client.c @@ -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, |