[MPlayer-cvslog] r36226 - trunk/libvo/gl_common.c
reimar
subversion at mplayerhq.hu
Sat May 4 22:01:38 CEST 2013
Author: reimar
Date: Sat May 4 22:01:38 2013
New Revision: 36226
Log:
Add a const.
It can help some compilers optimize.
Modified:
trunk/libvo/gl_common.c
Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c Sat May 4 17:20:47 2013 (r36225)
+++ trunk/libvo/gl_common.c Sat May 4 22:01:38 2013 (r36226)
@@ -1639,7 +1639,7 @@ static const char yuv_frag_shader[] =
"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"
More information about the MPlayer-cvslog
mailing list