Skip to content

Commit 97bba5f

Browse files
committed
toABGR updated.
1 parent d93019e commit 97bba5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/Color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Phaser.Color = {
154154
*/
155155
toABGR: function (r, g, b, a) {
156156

157-
return (a << 24) | (b << 16) | (g << 8) | r;
157+
return ((a << 24) | (b << 16) | (g << 8) | r) >>> 0;
158158

159159
},
160160

0 commit comments

Comments
 (0)