[mythtv-users] Seasonal theme experiments

Paul Harrison mythtv at mythqml.net
Thu Dec 10 21:59:17 UTC 2020


On 10/12/2020 19:17, Mark Kendall wrote:

> On Thu, 10 Dec 2020 at 19:07, Paul Harrison <mythtv at mythqml.net> wrote:
>
>> Is that the correct  Gist? Not sure if I'm doing something stupid but I
>> just tried it and it produces the same effect as the MythCenter-wide
>> background. Definitely no snow :(
> Less haste more speed...
>
> correct version:-
>
> https://gist.github.com/mark-kendall/91c07d8f3d81eb8777daa3b368e5c060
>
> Thanks
> Mark


NP that works great. A lot smoother than the animated gif snow.


I bumped the speed up a little to -0.3 and increase the layers to 6.0.


I also needed to  add #include <memory> to mythpainter.h for 
shared_pointer to get it to compile on Ubuntu 20.04 and there was 
warning about a shadowed decalaration.

opengl/mythrenderopengl.cpp:810:80: warning: declaration of ‘Time’ 
shadows a global declaration [-Wshadow]
   810 |                                       QOpenGLShaderProgram 
*Program, float Time)
| ^
In file included from /usr/include/X11/Xlib.h:44,
                  from platforms/mythxdisplay.h:14,
                  from opengl/mythrenderopengl.cpp:21:
/usr/include/X11/X.h:77:23: note: shadowed declaration is here
    77 | typedef unsigned long Time;
       |                       ^~~~


Paul H.



More information about the mythtv-users mailing list