Skip to content

Commit

Permalink
fixed typo in Texture.js
Browse files Browse the repository at this point in the history
  • Loading branch information
schteppe committed Jun 16, 2016
1 parent fccab6c commit 691bdf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/goo/renderer/Texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ Texture.prototype.getSizeInMemory = function () {

if (this.format === 'Luminance' || this.format === 'Alpha') {
size *= 1;
} else if (this.format === 'Lumin`anceAlpha') {
} else if (this.format === 'LuminanceAlpha') {
size *= 2;
} else if (this.format === 'RGB') {
size *= 3; // some dubious video cards may use 4 bits anyway
Expand Down

0 comments on commit 691bdf3

Please sign in to comment.