client API: clarify some vo_opengl_cb requirements

Stupid drivers. I hope the problem described here isn't actually common.
This commit is contained in:
wm4 2015-01-04 22:21:14 +01:00
parent e7b78bea65
commit a91f127246
1 changed files with 6 additions and 0 deletions

View File

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