diff options
author | Niklas Haas <git@haasn.xyz> | 2017-08-08 17:06:45 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-08-08 17:08:25 +0200 |
commit | 6087f63003351812996823877a4abbd51a1f9530 (patch) | |
tree | fb2a64845603724ed8061b9002c8951f727b5015 /video/out/opengl/ra_gl.h | |
parent | 7f9193b35325f16e0a3fc290fb0723de40b704c5 (diff) | |
download | mpv-6087f63003351812996823877a4abbd51a1f9530.tar.bz2 mpv-6087f63003351812996823877a4abbd51a1f9530.tar.xz |
vo_opengl: go back to using GL_TIME_ELAPSED
Less flexible than GL_TIMESTAMP but supported by more platforms. This
will mean that nested queries have to be detected and silently omitted,
but oh well. Not much use for them anyway.
Fixes #4721.
Diffstat (limited to 'video/out/opengl/ra_gl.h')
-rw-r--r-- | video/out/opengl/ra_gl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/ra_gl.h b/video/out/opengl/ra_gl.h index 08f0197433..3b6202cbfb 100644 --- a/video/out/opengl/ra_gl.h +++ b/video/out/opengl/ra_gl.h @@ -8,6 +8,7 @@ struct ra_gl { GL *gl; bool debug_enable; + bool timer_active; // hack for GL_TIME_ELAPSED limitations }; // For ra_tex.priv |