mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 22:20:44 +00:00
The Rectangle Shape object wouldn't render if it didn't have a stroke, or any other objects on the display list
This commit is contained in:
parent
b52c63fe10
commit
c9a4a240f8
2 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
### Bug Fixes
|
||||
|
||||
* The `loadPlayerPhoto` function in the Instant Games plugin now listens for the updated Loader event correctly, causing the `photocomplete` event to fire properly.
|
||||
* The Rectangle Shape object wouldn't render if it didn't have a stroke, or any other objects on the display list (thanks mliko)
|
||||
|
||||
### Examples and TypeScript
|
||||
|
||||
|
|
|
@ -66,6 +66,8 @@ var RectangleWebGLRenderer = function (renderer, src, interpolationPercentage, c
|
|||
fillTint.TR = fillTintColor;
|
||||
fillTint.BL = fillTintColor;
|
||||
fillTint.BR = fillTintColor;
|
||||
|
||||
pipeline.setTexture2D();
|
||||
|
||||
pipeline.batchFillRect(
|
||||
-dx,
|
||||
|
|
Loading…
Reference in a new issue