Blender Git Loki

Git Commits -> Revision 52a81c8

Revision 52a81c8 by Sergey Sharybin (master)
January 4, 2013, 20:34 (GMT)
There was a typo in previous commit

Additional changes:

- Made mipmapping operate with unsigned short instead of char
which allowed to eliminate extra division by 255, so prevision
should be a bit better now.

- Actually, this is not real unsigned short range, but it's a
range of 255*255 which is more convenient for mipmapping, so
made conversion functions private for scaling.c

Not sure it worth making this functions operate in 65535
range, for now current behavior seems to be just fine.

Commit Details:

Full Hash: 52a81c8364c1da5d7607b6964d5e64d1cd00703a
SVN Revision: 53563
Parent Commit: 0e676bf
Lines Changed: +41, -40

3 Modified Paths:

/source/blender/blenlib/BLI_math_color.h (+0, -2) (Diff)
/source/blender/blenlib/intern/math_color_inline.c (+0, -28) (Diff)
/source/blender/imbuf/intern/scaling.c (+41, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021