[SDL] Target textures getting randomly swapped on window resize !!

Travis McKinney movonarvic at gmail.com
Fri Sep 23 11:50:17 PDT 2016


$ sdl2-config --version
2.0.4

Code works as expected on my system. Textures do not swap.

On 23 September 2016 at 08:34, Jonathan Dearborn <grimfang4 at gmail.com>
wrote:

> Does this happen when you request the OpenGL backend?
>
> Jonny D
>
> On Fri, Sep 23, 2016 at 11:13 AM, sgrsgsrg <thephanoo at gmail.com> wrote:
>
>> Got rid of the problem by regenerating all target textures on window
>> resize.
>>
>> Is there a way to avoid doing that ? This 'glitch' isnt documented
>> anywhere, and there is no fun handling that
>>
>> _______________________________________________
>> SDL mailing list
>> SDL at lists.libsdl.org
>> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>>
>>
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20160923/72e060b4/attachment.htm>


More information about the SDL mailing list