From f0ed0b728dac93021b8d1b25e8d430fc7a6f8d5f Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 20 May 2015 00:50:37 +1000 Subject: [PATCH] caopengllayersink: static const the indices array the contents will never change anyway. --- ext/gl/caopengllayersink.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gl/caopengllayersink.m b/ext/gl/caopengllayersink.m index a9ca2ca..e81541a 100644 --- a/ext/gl/caopengllayersink.m +++ b/ext/gl/caopengllayersink.m @@ -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 -- 2.7.4