improve stb

This commit is contained in:
lixianjing 2020-01-13 21:52:29 -08:00
parent a0c05e37ef
commit eecb862efc
2 changed files with 2 additions and 1 deletions

View File

@ -5030,7 +5030,7 @@ static int stbi__bitcount(unsigned int a)
// extract an arbitrarily-aligned N-bit value (N=bits)
// from v, and then make it 8-bits long and fractionally
// extend it to full full range.
static int stbi__shiftsigned(int v, int shift, int bits)
static int stbi__shiftsigned(unsigned int v, int shift, int bits)
{
static unsigned int mul_table[9] = {
0,

View File

@ -1,6 +1,7 @@
# 最新动态
* 2020/01/14
* awtk修复opengles下vg缩放后填充颜色不正常的问题感谢智明提供补丁
* 修改了stbi__shiftsigned()C语言中负数按位右移高位补1导致触发assert的问题感谢朝泽提供补丁
* 2020/01/13
* widget clone不复制focused属性。