Skip to content

Commit

Permalink
Merge pull request #986 from guycalledfrank/fixbrowsercc
Browse files Browse the repository at this point in the history
Fix browser color-correcting images
  • Loading branch information
daredevildave authored Aug 15, 2017
2 parents 91b7e1c + eafce29 commit 2aa5876
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/graphics/device.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,8 @@ pc.extend(pc, function () {

this.constantTexSource = this.scope.resolve("source");

gl.pixelStorei(gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, gl.NONE);

if (!pc._benchmarked) {
if (this.extTextureFloat) {
if (this.webgl2) {
Expand Down

0 comments on commit 2aa5876

Please sign in to comment.