Skip to content

Commit

Permalink
fix(webgl): gl2 texStorage2D() levels
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Apr 7, 2019
1 parent 8e19948 commit 3d36527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webgl/src/texture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Texture implements ITexture {
} else if (opts.width && opts.height) {
gl.texStorage2D(
target,
0,
1,
internalFormat,
opts.width,
opts.height
Expand Down

0 comments on commit 3d36527

Please sign in to comment.