bug-freedink
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-freedink] Screen or Sprites Flickering


From: Eric Duhamel
Subject: Re: [Bug-freedink] Screen or Sprites Flickering
Date: Thu, 30 Mar 2017 18:08:49 -0700
User-agent: K-9 Mail for Android

For some reason I didn't get the latest reply in my inbox.

>

> Ah, we forwarded the pixels but not the 8-bit palette.
>The new attached patch should fix the problem.
>Sadly SDL_SetPalette() clears the screen for some reason...
>As a result the fade_down/fade_up effects (enter/exit a house) get flickering XD

>Alternatively, you can use --truecolor to request a non-paletted video mode.
>(In either case you can ditch the SDL_Flip() call since we're
single-buffered => better perfs.)
>Also remember that all these hacks basically break X11 mode.

Thanks very much for taking the time to make these patches and give me advice, especially since this is very much a hacky hack for an edge case.

I'll be applying the latest patch this weekend. In the future I'm going to compile from the repo the newest versions that use SDL2. I'll let the list know how that goes.

Happy Hacking!

--
Eric Duhamel
http://www.noxbanners.net/
reply via email to

[Prev in Thread] Current Thread [Next in Thread]