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:
Richard Davey 2018-10-19 13:08:05 +01:00
parent b52c63fe10
commit c9a4a240f8
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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,