mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 03:58:33 +08:00
improve stb
This commit is contained in:
parent
a0c05e37ef
commit
eecb862efc
@ -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,
|
||||
|
@ -1,6 +1,7 @@
|
||||
# 最新动态
|
||||
* 2020/01/14
|
||||
* awtk修复opengles下vg缩放后填充颜色不正常的问题(感谢智明提供补丁)
|
||||
* 修改了stbi__shiftsigned(),C语言中负数按位右移高位补1导致触发assert的问题(感谢朝泽提供补丁)
|
||||
|
||||
* 2020/01/13
|
||||
* widget clone不复制focused属性。
|
||||
|
Loading…
Reference in New Issue
Block a user