Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Bug: ImageBuffer::alpha not initialised on X11
Re: Bug: ImageBuffer::alpha not initialised on X11 [message #15608 is a reply to message #15606] |
Wed, 30 April 2008 16:24   |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
mr_ped wrote on Wed, 30 April 2008 15:00 |
luzr wrote on Wed, 30 April 2008 11:55 |
Should I draw random data into alpha? Win32 clears it for me.
|
In case it is supposed to be uninitialized, and the OS does initialize it for you, I suggest to use random bytes in DEBUG mode trough #ifdef.
That will make such errors to appear in debug mode, yet it will not slow down release.
|
I hadn't thought of that, it's a good compromise IMO.
[Updated on: Wed, 30 April 2008 16:24] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Jul 06 15:57:56 CEST 2025
Total time taken to generate the page: 0.03500 seconds
|