summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r--video/out/gl_common.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 50864afaf7..bbfbcdcda4 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -202,9 +202,11 @@ static const struct gl_functions gl_functions[] = {
{0}
},
},
- // GL 2.0-3.x functions
+ // GL 2.1-3.x functions (also: GLSL 120 shaders)
+ // All of the listed functions are also in GL 2.0
{
- .ver_core = MPGL_VER(2, 0),
+ .ver_core = MPGL_VER(2, 1),
+ .provides = MPGL_CAP_GL21,
.functions = (const struct gl_function[]) {
DEF_FN(GenBuffers),
DEF_FN(DeleteBuffers),
@@ -245,15 +247,6 @@ static const struct gl_functions gl_functions[] = {
{0},
},
},
- // GL 2.1-3.x functions (also: GLSL 120 shaders)
- {
- .ver_core = MPGL_VER(2, 1),
- .provides = MPGL_CAP_GL21,
- .functions = (const struct gl_function[]) {
- DEF_FN(UniformMatrix4x3fv),
- {0}
- },
- },
// GL 3.x core only functions.
{
.ver_core = MPGL_VER(3, 0),