summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2013-03-30 20:33:09 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2013-03-30 20:42:11 +0100
commite31567fe41e853ea355b55ddb15a184b67ab9e16 (patch)
tree6cef1394d384d0bd8d2821b7a9f30bdc037286dc /video
parent042ac5622667381b6ac881e948fe686373c531d7 (diff)
downloadmpv-e31567fe41e853ea355b55ddb15a184b67ab9e16.tar.bz2
mpv-e31567fe41e853ea355b55ddb15a184b67ab9e16.tar.xz
gl_video: remove double const qualifier
This fixes a warning when compiling with clang.
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 875eb7eb38..d7fd6774b6 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -224,7 +224,7 @@ static const char *osd_shaders[SUBBITMAP_COUNT] = {
[SUBBITMAP_RGBA] = "frag_osd_rgba",
};
-static const const struct gl_video_opts gl_video_opts_def = {
+static const struct gl_video_opts gl_video_opts_def = {
.npot = 1,
.dither_depth = -1,
.fbo_format = GL_RGB,