Skip to content

Commit

Permalink
Fix target value
Browse files Browse the repository at this point in the history
It seems to be a typo. As I can see, `texTarget` is some legacy property and unsupported now
  • Loading branch information
kdziamura authored and greggman committed May 26, 2020
1 parent 94936d2 commit b84634c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framebuffers.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function createFramebufferInfo(gl, attachments, width, height) {
gl.framebufferTexture2D(
target,
attachmentPoint,
attachmentOptions.texTarget || TEXTURE_2D,
attachmentOptions.target || TEXTURE_2D,
attachment,
attachmentOptions.level || 0);
}
Expand Down

0 comments on commit b84634c

Please sign in to comment.