Commit 2af6c7dd authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

analitzaplot: Fix 3D plots on the pinephone

It complains about the lack of precision on the float there whereas
elsewhere it doesn't. Adding the highp still works on other devices so
we have all bases covered.

BUG: 460239
parent c402317c
Pipeline #261646 passed with stage
in 5 minutes and 38 seconds
......@@ -112,7 +112,7 @@ void Plotter3DES::initGL()
"void main(void)\n"
"{\n"
" float w = 10.*gl_FragCoord.w;\n"
" highp float w = 10.*gl_FragCoord.w;\n"
" highp vec4 zvec = vec4(w, w, w, 1.0);"
" gl_FragColor = mix(color, zvec, vec4(.5,.5,.5,1.));\n"
"}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment