summaryrefslogtreecommitdiff
path: root/libavdevice/opengl_enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/opengl_enc.c')
-rw-r--r--libavdevice/opengl_enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index b5f97e2428..5f5b800569 100644
--- a/libavdevice/opengl_enc.c
+++ b/libavdevice/opengl_enc.c
@@ -164,7 +164,7 @@ typedef struct OpenGLVertexInfo
} OpenGLVertexInfo;
/* defines 2 triangles to display */
-static GLushort g_index[6] =
+static const GLushort g_index[6] =
{
0, 1, 2,
0, 3, 2,