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 » Premultiply - Wrong expression
Premultiply - Wrong expression [message #16701] Mon, 07 July 2008 23:10 Go to previous message
loki is currently offline  loki
Messages: 36
Registered: October 2007
Member
Hello

File: ImageBlit.cpp

Functions:
int Premultiply(RGBA *t, const RGBA *s, int len)
int Unmultiply(RGBA *t, const RGBA *s, int len)

Should this
if(s->a != 0 || s->a != 255)


not be this
if(s->a != 0 && s->a != 255)


 
Read Message
Read Message
Previous Topic: DrawArc bug ?
Next Topic: Showing Images in a Child Frame
Goto Forum:
  


Current Time: Thu Mar 28 16:52:11 CET 2024

Total time taken to generate the page: 0.01382 seconds