Skip to content

Commit

Permalink
Fix framebuffer method
Browse files Browse the repository at this point in the history
  • Loading branch information
raub committed May 8, 2021
1 parent 5ec2178 commit 3456f38
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Luis Blanco <[email protected]>",
"name": "webgl-raub",
"version": "2.2.3",
"version": "2.2.4",
"description": "WebGL for Node.js",
"license": "MIT",
"main": "index.js",
Expand Down
10 changes: 0 additions & 10 deletions src/cpp/framebuffers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,6 @@ JS_METHOD(bindFramebuffer) { NAPI_ENV;
}


JS_METHOD(bindFramebuffer) { NAPI_ENV;

REQ_UINT32_ARG(0, fbo);

glBindFramebuffer(GL_FRAMEBUFFER, fbo);
RET_UNDEFINED;

}


JS_METHOD(blitFramebuffer) { NAPI_ENV;

REQ_UINT32_ARG(0, srcX0);
Expand Down
1 change: 0 additions & 1 deletion src/cpp/webgl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ namespace webgl {
JS_METHOD(deleteFramebuffer);
JS_METHOD(isFramebuffer);
JS_METHOD(bindFramebuffer);
JS_METHOD(bindFramebuffer);
JS_METHOD(blitFramebuffer);
JS_METHOD(checkFramebufferStatus);
JS_METHOD(framebufferRenderbuffer);
Expand Down

0 comments on commit 3456f38

Please sign in to comment.