mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
[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:
parent
7ee7688ae8
commit
f6b0a1db7b
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ const gchar *multiply_fragment_source =
|
||||||
"void main () {"
|
"void main () {"
|
||||||
" vec4 basecolor = texture2DRect (base, gl_TexCoord[0].st);"
|
" vec4 basecolor = texture2DRect (base, gl_TexCoord[0].st);"
|
||||||
" vec4 blendcolor = texture2DRect (blend, 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) */
|
/* lut operations, map luma to tex1d, see orange book (chapter 19) */
|
||||||
|
|
Loading…
Reference in a new issue