From: Matthew Waters Date: Tue, 19 May 2015 14:50:37 +0000 (+1000) Subject: caopengllayersink: static const the indices array X-Git-Tag: 1.19.3~511^2~1989^2~863 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0ed0b728dac93021b8d1b25e8d430fc7a6f8d5f;p=platform%2Fupstream%2Fgstreamer.git caopengllayersink: static const the indices array the contents will never change anyway. --- 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