mirror of https://github.com/mpv-player/mpv
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:
parent
e7b78bea65
commit
a91f127246
|
@ -152,6 +152,12 @@ void mpv_opengl_cb_set_update_callback(mpv_opengl_cb_context *ctx,
|
||||||
* checked whether extensions are really available.)
|
* checked whether extensions are really available.)
|
||||||
* The callback will be called from this function only
|
* The callback will be called from this function only
|
||||||
* (it is not stored and never used later).
|
* (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
|
* @param get_proc_address_ctx arbitrary opaque user context passed to the
|
||||||
* get_proc_address callback
|
* get_proc_address callback
|
||||||
* @return error code (same as normal mpv_* API), including but not limited to:
|
* @return error code (same as normal mpv_* API), including but not limited to:
|
||||||
|
|
Loading…
Reference in New Issue