Re: [android-developers] How to switch between 2 renderers?

2013-01-16 Thread MobileVisuals
Thanks, it worked! It was very easy to implement. On Monday, January 14, 2013 12:52:43 PM UTC+1, Harri Smått wrote: Hi, Yes, using one renderer only which delegates commands further. -- H On Mon, Jan 14, 2013 at 1:47 PM, MobileVisuals eyv...@astralvisuals.comjavascript: wrote:

[android-developers] How to switch between 2 renderers?

2013-01-14 Thread MobileVisuals
I have 2 renderers in my live wallpaper, quadRenderer and renderer. I try to switch between them with setRenderer(quadRenderer); This results in this error: setRenderer has already been called for this instance. What can I do to avoid this? -- You received this message because you are

Re: [android-developers] How to switch between 2 renderers?

2013-01-14 Thread Harri Smått
Hi, AFAIK, only way around the problem is to introduce a proxy renderer. Meaning you install this proxy as renderer and its only purpose is to delegate rendering calls to actual implementation classes. -- H On Mon, Jan 14, 2013 at 12:11 PM, MobileVisuals eyv...@astralvisuals.com wrote: I have

Re: [android-developers] How to switch between 2 renderers?

2013-01-14 Thread MobileVisuals
I see, do you mean using the proxy renderer as the only renderer? On Monday, January 14, 2013 12:30:50 PM UTC+1, Harri Smått wrote: Hi, AFAIK, only way around the problem is to introduce a proxy renderer. Meaning you install this proxy as renderer and its only purpose is to delegate

Re: [android-developers] How to switch between 2 renderers?

2013-01-14 Thread Harri Smått
Hi, Yes, using one renderer only which delegates commands further. -- H On Mon, Jan 14, 2013 at 1:47 PM, MobileVisuals eyv...@astralvisuals.com wrote: I see, do you mean using the proxy renderer as the only renderer? On Monday, January 14, 2013 12:30:50 PM UTC+1, Harri Smått wrote: Hi,