We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c33059d + 88c31cc commit 40dcd39Copy full SHA for 40dcd39
src/webgl/p5.Texture.js
@@ -47,8 +47,8 @@ p5.Texture = function(renderer, obj) {
47
this.isSrcP5Graphics = obj instanceof p5.Graphics;
48
49
var textureData = this._getTextureDataFromSource();
50
- this.height = textureData.width;
51
- this.width = textureData.height;
+ this.width = textureData.width;
+ this.height = textureData.height;
52
53
this.init(textureData);
54
return this;
0 commit comments