summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/common.c')
-rw-r--r--video/out/opengl/common.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index 30cce911e4..f9c830f25a 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -226,6 +226,12 @@ static const struct gl_functions gl_functions[] = {
.extension = "GL_ARB_texture_rg",
.provides = MPGL_CAP_TEX_RG,
},
+ // GL_R16 etc.
+ {
+ .ver_core = 300,
+ .extension = "GL_EXT_texture_norm16",
+ .provides = MPGL_CAP_EXT16,
+ },
{
.ver_core = 320,
.extension = "GL_ARB_sync",