GNOME Bugzilla – Bug 761271
gleffects: fix gleffects fisheye shader compile error
Last modified: 2016-04-14 17:43:41 UTC
Created attachment 319994 [details] [review] gleffects: fix gleffects fisheye shader compile error Shader function "sqrt" is not supported on some embedded platform, having "sqrt(2)" in the shader does not actually gain anybody anything. Use float number 1.41421.
commit f3653a5e9cb0712d69607a0bdd598e43a72cc03c Author: Haihua Hu <b55597@freescale.com> Date: Tue Dec 8 14:09:58 2015 +0800 gleffects: fix gleffects fisheye shader compile error On some embedded systems, sqrt() is not supported in the shader, use the actual value of sqrt(2) instead. Signed-off-by: Haihua Hu <b55597@freescale.com> Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761271 and 1.6 a23e3b9c9e160a0bbf01bf45eb74d814ff3538e4