Comparing version 4.3.4 to 4.3.5
@@ -13,3 +13,3 @@ 'use strict'; | ||
*/ | ||
var VERSION = exports.VERSION = '4.3.4'; | ||
var VERSION = exports.VERSION = '4.3.5'; | ||
@@ -16,0 +16,0 @@ /** |
@@ -277,2 +277,8 @@ 'use strict'; | ||
// free unit 0 for us, doesn't matter what was there | ||
// don't try to restore it, because syncUniforms can upload it to another slot | ||
// and it'll be a problem | ||
var tex = this.renderer.emptyTextures[0]; | ||
this.renderer.boundTextures[0] = tex; | ||
// this syncs the pixi filters uniforms with glsl uniforms | ||
@@ -283,5 +289,2 @@ this.syncUniforms(shader, filter); | ||
// temporary bypass cache.. | ||
var tex = this.renderer.boundTextures[0]; | ||
gl.activeTexture(gl.TEXTURE0); | ||
@@ -292,3 +295,2 @@ gl.bindTexture(gl.TEXTURE_2D, input.texture.texture); | ||
// restore cache. | ||
gl.bindTexture(gl.TEXTURE_2D, tex._glTextures[this.renderer.CONTEXT_UID].texture); | ||
@@ -295,0 +297,0 @@ }; |
{ | ||
"name": "pixi.js", | ||
"version": "4.3.4", | ||
"version": "4.3.5", | ||
"description": "Pixi.js is a fast lightweight 2D library that works across all devices.", | ||
@@ -5,0 +5,0 @@ "author": "Mat Groves", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6713738
53804