Skip to content

Commit

Permalink
EGE/include/ege/colorbase.h: 修复函数 GBTOBGR 的参数类型(自从 19.01 )。
Browse files Browse the repository at this point in the history
参见版本 47f33c7 。

Signed-off-by: FrankHB <frankhb1989@gmail.com>
  • Loading branch information
FrankHB committed Apr 14, 2020
1 parent 158f30e commit 7a10b82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ YEGE 以 [misakamm 的 xege](http://github.com/misakamm/xege) 为基础修改,
* 参见 [wysaid/xege pull request 5](https://github.com/wysaid/xege/pull/5) 。
* 参见 [wysaid/xege pull request 9](https://github.com/wysaid/xege/pull/9) 。
* 颜色转换函数添加 `ynothrow`
* 修复函数 `RGBTOBGR` 的参数类型([自从 19.01](https://github.com/FrankHB/YEGE/commit/47f33c7b096c9c99b97faac6334217a3a4f33b1e) )。

## 19.01

Expand Down
2 changes: 1 addition & 1 deletion EGE/include/ege/colorbase.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using ConstBitmapPtr = const color_int_t*;
#endif

yconstfn color_int_t
RGBTOBGR(MonoType color) ynothrow
RGBTOBGR(color_int_t color) ynothrow
{
return ((color & 0xFF) << 16) | ((color & 0xFF0000) >> 16)
| (color & 0xFF00FF00);
Expand Down

0 comments on commit 7a10b82

Please sign in to comment.