Allow texture to not be flipped
This commit is contained in:
parent
68df2fdafd
commit
b5dc38b7fe
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ PIXI.PixiShader.prototype.initSampler2D = function(uniform)
|
||||||
wrapT = gl.REPEAT;
|
wrapT = gl.REPEAT;
|
||||||
}
|
}
|
||||||
|
|
||||||
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false);
|
gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, !!data.flipY);
|
||||||
|
|
||||||
if (data.width)
|
if (data.width)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue