diff options
author | wm4 <wm4@nowhere> | 2014-12-24 16:54:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-24 16:54:47 +0100 |
commit | 5a3070304fff7884d328cf1e8ac05f58b9e5bf99 (patch) | |
tree | 94949a56ea6339504f15d713c1e0040e4eaac822 /video/out/gl_common.c | |
parent | fdb379109f4de60bba03013d7572c6e38a954030 (diff) | |
download | mpv-5a3070304fff7884d328cf1e8ac05f58b9e5bf99.tar.bz2 mpv-5a3070304fff7884d328cf1e8ac05f58b9e5bf99.tar.xz |
vo_opengl: don't use 10 bit video on Intel GPUs
vo_opengl was originally written against OpenGL 3 core, and it seems
GPUs/drivers supporting this are mostly sane. Later, it was made to work
with OpenGL 2.1 too. Lately we removed the requirement for RG textures,
and look, someone reported a problem with "lesser" Intel GPUs.
This commit does the same in vo_opengl what was added to vo_opengl_old a
long time ago.
Fixes #1383.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r-- | video/out/gl_common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 883ea652f3..23de622dd1 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -264,6 +264,7 @@ static const struct gl_functions gl_functions[] = { .functions = (const struct gl_function[]) { DEF_FN(GetStringi), // for ES 3.0 + DEF_FN(GetTexLevelParameteriv), DEF_FN(ReadBuffer), DEF_FN(UnmapBuffer), {0} |