Support for Video texture updates.

This commit is contained in:
photonstorm 2015-05-05 14:00:18 +01:00
parent d8c109b0a2
commit f33082caf2

View file

@ -306,7 +306,7 @@ Phaser.Component.Core.prototype = {
*/
postUpdate: function() {
if (this.key instanceof Phaser.BitmapData)
if (this.key instanceof Phaser.BitmapData || this.key instanceof Phaser.Video)
{
this.key.render();
}