From a91f127246aa57940d22b6c1dbb2a55d31e0dc90 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 4 Jan 2015 22:21:14 +0100 Subject: client API: clarify some vo_opengl_cb requirements Stupid drivers. I hope the problem described here isn't actually common. --- libmpv/opengl_cb.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libmpv/opengl_cb.h b/libmpv/opengl_cb.h index 8f7e1df76d..042a5a46aa 100644 --- a/libmpv/opengl_cb.h +++ b/libmpv/opengl_cb.h @@ -152,6 +152,12 @@ void mpv_opengl_cb_set_update_callback(mpv_opengl_cb_context *ctx, * checked whether extensions are really available.) * The callback will be called from this function only * (it is not stored and never used later). + * Usually, GL context APIs do this for you (e.g. with + * glXGetProcAddressARB or wglGetProcAddress), but + * some APIs do not always return pointers for all + * standard functions (even if present); in this case + * you have to compensate by looking up these functions + * yourself. * @param get_proc_address_ctx arbitrary opaque user context passed to the * get_proc_address callback * @return error code (same as normal mpv_* API), including but not limited to: -- cgit v1.2.3