Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » Premultiply - Wrong expression
Premultiply - Wrong expression [message #16701] |
Mon, 07 July 2008 23:10 |
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)
|
|
|
Goto Forum:
Current Time: Tue Apr 23 23:16:23 CEST 2024
Total time taken to generate the page: 0.02720 seconds
|