diff libvo/gl_common.c @ 36132:17b5ef08fdaa

Add a const. It can help some compilers optimize.
author reimar
date Sat, 04 May 2013 20:01:38 +0000
parents 08f70b06452c
children 2b742d298c68
line wrap: on
line diff
--- a/libvo/gl_common.c	Sat May 04 15:20:47 2013 +0000
+++ b/libvo/gl_common.c	Sat May 04 20:01:38 2013 +0000
@@ -1639,7 +1639,7 @@
   "uniform sampler2D texs[4];\n"
   "varying vec2 tcv, tcv2;\n"
   "void main() {\n"
-  "  mat4 yuv_conv = mat4(\n"
+  "  const mat4 yuv_conv = mat4(\n"
   "     1.164000e+00,  1.164000e+00,  1.164000e+00, 0,\n"
   "     0.000000e+00, -3.910000e-01,  2.018000e+00, 0,\n"
   "     1.596000e+00, -8.130000e-01,  0.000000e+00, 0,\n"