[426/906] multiply: fix a compilation error with Apple compiler

Fix multiply_fragment_source to compile with Apple GLSL compiler.

https://bugzilla.gnome.org/show_bug.cgi?id=616748
This commit is contained in:
Vinson Lee 2010-04-25 10:04:28 +02:00 committed by Matthew Waters
parent 7ee7688ae8
commit f6b0a1db7b

View file

@ -360,7 +360,7 @@ const gchar *multiply_fragment_source =
"void main () {"
" vec4 basecolor = texture2DRect (base, gl_TexCoord[0].st);"
" vec4 blendcolor = texture2DRect (blend, gl_TexCoord[0].st);"
" gl_FragColor = (1 - alpha) * basecolor + alpha * basecolor * blendcolor;"
" gl_FragColor = (1.0 - alpha) * basecolor + alpha * basecolor * blendcolor;"
"}";
/* lut operations, map luma to tex1d, see orange book (chapter 19) */