Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 #15606 is a reply to message #15601] Wed, 30 April 2008 16:00 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 826
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
luzr wrote on Wed, 30 April 2008 11:55


Should I draw random data into alpha? Smile 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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: bug in ImageBuffer::Line() and operator[]
Next Topic: .pcx images [FEATURE REQUEST]
Goto Forum:
  


Current Time: Sun Jul 06 11:46:22 CEST 2025

Total time taken to generate the page: 0.03635 seconds