Skip to content

Commit

Permalink
Merge pull request #314 from guycalledfrank/fixpixels
Browse files Browse the repository at this point in the history
Fixpixels
  • Loading branch information
guycalledfrank committed Jun 12, 2015
2 parents dddd83f + e36b9c4 commit 8467690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/resources_cubemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pc.extend(pc, function () {
if (data.dds) {

data.dds.fixCubemapSeams = true;
data.dds.minFilter = pc.FILTER_LINEAR_MIPMAP_LINEAR;
data.dds.minFilter = this._device.useTexCubeLod? pc.FILTER_LINEAR_MIPMAP_LINEAR : pc.FILTER_LINEAR;
data.dds.magFilter = pc.FILTER_LINEAR;
data.dds.addressU = pc.ADDRESS_CLAMP_TO_EDGE;
data.dds.addressV = pc.ADDRESS_CLAMP_TO_EDGE;
Expand Down

0 comments on commit 8467690

Please sign in to comment.