mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-02 16:22:40 -06:00
MSC warnings fixed, CtrlLib: .lay UNTYPED now without properties
This commit is contained in:
parent
76cc33f2f1
commit
6a86f2ac03
8 changed files with 42 additions and 37 deletions
|
|
@ -353,7 +353,7 @@ uint64 Image::GetAuxData() const
|
|||
return data ? data->aux_data : 0;
|
||||
}
|
||||
|
||||
static void sMultiply(ImageBuffer& b, int (*op)(RGBA *t, const RGBA *s, int len))
|
||||
static void sMultiply(ImageBuffer& b, int (*op)(RGBA *t, const RGBA *s, size_t len))
|
||||
{
|
||||
if(b.GetKind() != IMAGE_OPAQUE && b.GetKind() != IMAGE_EMPTY)
|
||||
(*op)(~b, ~b, b.GetLength());
|
||||
|
|
@ -369,7 +369,7 @@ void Unmultiply(ImageBuffer& b)
|
|||
sMultiply(b, Unmultiply);
|
||||
}
|
||||
|
||||
static Image sMultiply(const Image& img, int (*op)(RGBA *t, const RGBA *s, int len))
|
||||
static Image sMultiply(const Image& img, int (*op)(RGBA *t, const RGBA *s, size_t len))
|
||||
{
|
||||
int k = img.GetKind();
|
||||
if(k == IMAGE_OPAQUE || k == IMAGE_EMPTY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue