Skip to content

Commit

Permalink
Fix texture internalFormat and sourceFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Dec 23, 2014
1 parent ad6bacf commit 9a00310
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/scene/texture.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ new (function () {
flipY: this._getOption(this._core.flipY, true),
width: this._getOption(this._core.width, 1),
height: this._getOption(this._core.height, 1),
internalFormat: this._getGLOption("internalFormat", gl.LEQUAL),
sourceFormat: this._getGLOption("sourceType", gl.ALPHA),
internalFormat: this._getGLOption("internalFormat", gl.ALPHA),
sourceFormat: this._getGLOption("sourceFormat", gl.ALPHA),
sourceType: this._getGLOption("sourceType", gl.UNSIGNED_BYTE),
update: null
});
Expand Down

0 comments on commit 9a00310

Please sign in to comment.