mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-30 02:19:23 +00:00
Fix shader on Windows.
This commit is contained in:
parent
fdf298a71a
commit
b2b31b88ca
1 changed files with 7 additions and 6 deletions
|
|
@ -36,13 +36,14 @@ Item {
|
|||
|
||||
// See: https://www.opengl.org/sdk/docs/man/html/mix.xhtml
|
||||
fragmentShader: '
|
||||
uniform lowp sampler2D image;
|
||||
uniform lowp sampler2D mask;
|
||||
uniform lowp vec4 backgroundColor;
|
||||
uniform lowp vec4 foregroundColor;
|
||||
precision lowp float;
|
||||
uniform sampler2D image;
|
||||
uniform sampler2D mask;
|
||||
uniform vec4 backgroundColor;
|
||||
uniform vec4 foregroundColor;
|
||||
|
||||
uniform lowp float qt_Opacity;
|
||||
varying highp vec2 qt_TexCoord0;
|
||||
uniform float qt_Opacity;
|
||||
varying vec2 qt_TexCoord0;
|
||||
|
||||
void main () {
|
||||
vec4 tex = texture2D(image, qt_TexCoord0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue