Skip to content

Commit

Permalink
fix polluting calls
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Mar 15, 2011
1 parent 7799b13 commit cea60e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/host/resources/Texture.js
Expand Up @@ -224,7 +224,7 @@
tracked.type = arguments[0];
tracked.markDirty(false);
tracked.currentVersion.target = tracked.type;
pushPixelStoreState(gl, tracked.currentVersion);
pushPixelStoreState(gl.rawgl, tracked.currentVersion);
tracked.currentVersion.pushCall("texSubImage2D", arguments);
}

Expand All @@ -237,7 +237,7 @@
if (tracked) {
tracked.type = arguments[0];
// TODO: figure out what to do with mipmaps
pushPixelStoreState(gl, tracked.currentVersion);
pushPixelStoreState(gl.rawgl, tracked.currentVersion);
tracked.currentVersion.pushCall("generateMipmap", arguments);
}

Expand Down

0 comments on commit cea60e9

Please sign in to comment.