summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-05 19:40:57 +0200
committerwm4 <wm4@nowhere>2014-08-05 20:02:23 +0200
commit210c83ab31dd69c7a47c4b89d3a5fce78d4bedf2 (patch)
treee869f6270f502dd135fb3899895efae1dee21be0 /etc
parentafcbee8305e1d5c99012a6b9880b43b27b2d411a (diff)
downloadmpv-210c83ab31dd69c7a47c4b89d3a5fce78d4bedf2.tar.bz2
mpv-210c83ab31dd69c7a47c4b89d3a5fce78d4bedf2.tar.xz
win32: create OpenGL context on the GUI thread
This fixes the fullscreen issues on Intel for me. I'm baffled by it and don't understand why this suddenly works. Intel drivers being shit? Windows being shit? HWND or HDC being only 97% thread-safe instead of 98%? Me missing something subtle that is not documented anywhere? Who knows. Now instead of creating the HDC and OpenGL context on the renderer thread, they're created on the GUI thread. The renderer thread will then only call wglMakeCurrent, SwapBuffers, and OpenGL standard functions. Probably fixes github issue #968.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions