Skip to content

Commit f33082c

Browse files
committed
Support for Video texture updates.
1 parent d8c109b commit f33082c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/gameobjects/components/Core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Phaser.Component.Core.prototype = {
306306
*/
307307
postUpdate: function() {
308308

309-
if (this.key instanceof Phaser.BitmapData)
309+
if (this.key instanceof Phaser.BitmapData || this.key instanceof Phaser.Video)
310310
{
311311
this.key.render();
312312
}

0 commit comments

Comments
 (0)