[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: trouble w/ SRCALPHA in 1.9.2-cp27



Before anyone wastes time on Font.render() I wish to take that off the table. It's not impacted. That was a symptom of my Python.

The others are impacted: Surface.convert(), Surface.set_alpha(), transform.rotozoom().


On 11/28/2017 3:56 PM, MrGumm wrote:
Greetings,

Developers:

I've submitted issues #340 and #341.
https://bitbucket.org/pygame/pygame/issues/340/surfaceconvert-does-not-remove-the https://bitbucket.org/pygame/pygame/issues/341/surfaceset_alpha-sets-the-srcalpha-flag

Actually it seems to impact everything from font rendering w/ a background color, to rotozoom, to these tracked issues. Therefore, maybe it'll be a one-tweak-fixes-all.

This problem has major impact on my current project (a gfx-intensive shooter on Raspian), so I'd like to get a feel, if I may, for when the next release may appear with the fix(es) in it?

Fellow coders:

In the meantime, I would consider a workaround. But I cannot find one. If anyone is smarter than me, help would be appreciated. I need to detect whether a surface has per-pixel alpha in order to apply the proper transforms. In the past this was detectable by checking the flags for the presence of SRCALPHA. It's the nature of these issues that this is no longer reliable.

Thanks in advance.