caopengllayersink: static const the indices array
authorMatthew Waters <matthew@centricular.com>
Tue, 19 May 2015 14:50:37 +0000 (00:50 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:01 +0000 (19:32 +0000)
the contents will never change anyway.

ext/gl/caopengllayersink.m

index a9ca2ca..e81541a 100644 (file)
@@ -859,7 +859,7 @@ static const GLfloat vertices[] = {
      1.0f, -1.0f, 0.0f, 1.0f, 1.0f
 };
 
-GLushort indices[] = { 0, 1, 2, 0, 2, 3 };
+static const GLushort indices[] = { 0, 1, 2, 0, 2, 3 };
 /* *INDENT-ON* */
 
 static void