My team and I are developing a new 2d video game engine based on SDL 2.
We have found a problem:
On Windows 8 when the SDL 2 window is resized, texture alpha transparency fails?
(on window resize, alpha transparency is constantly fully opaque)
Anyone know why this occurs and know of a solution?
Thanks!
Can you try the attached patch?On Sat, Aug 17, 2013 at 2:53 AM, JeZ-l-Lee < JessePalserMailingLists at gmail.com> wrote:
**
[SDL2]-Transparency Fails After Window Resize?
Hi,
My team and I are developing a new 2d video game engine based on SDL 2.
We have found a problem:
On Windows 8 when the SDL 2 window is resized, texture alpha transparency
fails?
(on window resize, alpha transparency is constantly fully opaque)
Anyone know why this occurs and know of a solution?
Thanks!
How do I patch my SDL - I am using the already compiled Windows version from the website?
I don’t know how to patch it.
JeZ+Lee
Sam Lantinga wrote:> I think I have a fix for this.
Can you try the attached patch?
On Sat, Aug 17, 2013 at 2:53 AM, JeZ-l-Lee <JessePalserMailingLists at gmail.com (JessePalserMailingLists at gmail.com)> wrote:
[SDL2]-Transparency Fails After Window Resize?
Hi,
My team and I are developing a new 2d video game engine based on SDL 2.
We have found a problem:
On Windows 8 when the SDL 2 window is resized, texture alpha transparency fails?
(on window resize, alpha transparency is constantly fully opaque)
Anyone know why this occurs and know of a solution?
Thanks!
The idea is that you build it yourself from source, and incorporate the patch.________________________________
From: JeZ-l-Lee
To: sdl at lists.libsdl.org
Sent: Saturday, August 17, 2013 10:56 AM
Subject: Re: [SDL] [SDL2]-Transparency Fails After Window Resize?
Hi,
Thanks for the reply.
How do I patch my SDL - I am using the already compiled Windows version from the website?
I don’t know how to patch it.
JeZ+Lee
Sam Lantinga wrote:
I think I have a fix for this.
Can you try the attached patch?
On Sat, Aug 17, 2013 at 2:53 AM, JeZ-l-Lee <> wrote:
Quote:
[SDL2]-Transparency Fails After Window Resize?
Hi,
My team and I are developing a new 2d video game engine based on SDL 2.
We have found a problem:
On Windows 8 when the SDL 2 window is resized, texture alpha transparency fails?
(on window resize, alpha transparency is constantly fully opaque)
Anyone know why this occurs and know of a solution?
Thanks!
The idea is that you build it yourself from source, and incorporate the patch.
Hi,
Sorry, I don’t know how to build SDL2 from source, I use Code::Blocks C++ IDE on Windows 8.
Is there a work-around I can try in my game project’s source code?------------------------
JeZ+Lee
JessePalser <AT> Gmail <DOT> com
16BitSoft®
Video Game Design Studio www.16BitSoft.com
The idea is that you build it yourself from source, and incorporate the patch.
Hi,
Sorry, I don’t know how to build SDL2 from source, I use Code::Blocks C++ IDE on Windows 8.
Is there a work-around I can try in my game project’s source code?
It is not difficult to set up a virtual machine running linux, and install a cross-compiler to make windows builds for you.
If you don’t want to do that, I suggest you download visual C++ EE addition (free), and use that to make builds of SDL (and your program) (The IDE is much better than anything else I have seen on windows or linux, and the debugger is outstanding!).
It is not difficult to set up a virtual machine running linux, and install
a cross-compiler to make windows builds for you.
If you don’t want to do that, I suggest you download visual C++ EE
addition (free), and use that to make builds of SDL (and your program) (The
IDE is much better than anything else I have seen on windows or linux, and
the debugger is outstanding!).