Skip to content

Commit

Permalink
Fixed a typo and removed unused function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Davi Diniz committed Feb 7, 2024
1 parent 07a5b47 commit 3b8bc96
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions raylib.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ class RaylibJs {
return false;
}

SetWindowSize(width, height) {
this.ctx.canvas.width = width;
this.ctx.canvas.height = height;
}

SetTargetFPS(fps) {
console.log(`The game wants to run at ${fps} FPS, but in Web we gonna just ignore it.`);
this.targetFPS = fps;
Expand Down Expand Up @@ -280,7 +275,7 @@ const glfwKeyMapping = {
"NumPad7": 327,
"NumPad8": 328,
"NumPad9": 329,
"NumpadDecima": 330,
"NumpadDecimal": 330,
"NumpadDivide": 331,
"NumpadMultiply": 332,
"NumpadSubtract": 333,
Expand Down

0 comments on commit 3b8bc96

Please sign in to comment.