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.
1 parent c33059d commit 88c31ccCopy full SHA for 88c31cc
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