diff options
author | wm4 <wm4@nowhere> | 2017-05-11 17:41:54 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-05-11 17:47:33 +0200 |
commit | 2b616c0682a894152b06ef7249b32ef17037b3e5 (patch) | |
tree | d2714deb7052e11b32437d66c348fa2b2ac6562e /libmpv | |
parent | f2961425e770defe7cedc14ee2d4c9d4a53ab203 (diff) |
vo_opengl: drop TLS usage
TLS is a headache. We should avoid it if we can.
The involved mechanism is unfortunately entangled with the unfortunate
libmpv API for returning pointers to host API objects. This has to be
kept until we change the API somehow.
Practically untested out of pure laziness. I'm sure I'll get a bunch of
reports if it's broken.
Diffstat (limited to 'libmpv')
-rw-r--r-- | libmpv/opengl_cb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpv/opengl_cb.h b/libmpv/opengl_cb.h index 2c6219a462..fb8b928889 100644 --- a/libmpv/opengl_cb.h +++ b/libmpv/opengl_cb.h @@ -176,7 +176,7 @@ extern "C" { * * The RPI uses no proper interop, but hardware overlays instead. To place the * overlay correctly, you can communicate the window parameters as follows to - * libmpv. gl->MPGetNativeDisplay("MPV_RPI_WINDOW") return an array of type int + * libmpv. glMPGetNativeDisplay("MPV_RPI_WINDOW") returns an array of type int * with the following 4 elements: * 0: display number (default 0) * 1: layer number of the GL layer - video will be placed in the layer |