Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
beagle
>
qtdeclarative
> particles-shader-fix.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File particles-shader-fix.patch of Package qtdeclarative
diff --git a/src/quick/particles/qquickimageparticle.cpp b/src/quick/particles/qquickimageparticle.cpp index e45f2ed..99b4d0f 100644 --- a/src/quick/particles/qquickimageparticle.cpp +++ b/src/quick/particles/qquickimageparticle.cpp @@ -188,7 +188,7 @@ static const char vertexShaderCode[] = " + 0.5 * vVec.zw * pow(t * vData.y, 2.);\n" " gl_PointSize = currentSize;\n" "#endif\n" - " gl_Position = qt_Matrix * vec4(pos.x, pos.y, 0, 1);\n" + " gl_Position = qt_Matrix * vec4(pos.x, pos.y, 0., 1.);\n" "\n" "#if defined(COLOR)\n" " fColor = vColor * fade;\n"