Skip to content

Commit

Permalink
Closes #13 from Renardjojo/fix/remove_white_line
Browse files Browse the repository at this point in the history
Remove white line
  • Loading branch information
Renardjojo authored Nov 15, 2022
2 parents b098b3c + de84874 commit acfe5ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,8 @@ struct GameData
Vec2 petPos = {0.f, 0.f};
Vec2i petSize = {0.f, 0.f};

Vec2i windowExt = {300.f, 300.f};
Vec2i windowMinExt = {300.f, 300.f};
Vec2i windowExt = {0.f, 0.f};
Vec2i windowMinExt = {0.f, 0.f};

Vec2i windowSize = {0.f, 0.f};
Vec2i windowPos = {0.f, 0.f};
Expand Down Expand Up @@ -1855,7 +1855,6 @@ class Game
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, !datas.showFrameBufferBackground);
glfwWindowHint(GLFW_VISIBLE, datas.showFrameBufferBackground);
glfwWindowHint(GLFW_FLOATING, datas.useFowardWindow);
glfwWindowHint(GLFW_MOUSE_PASSTHROUGH, datas.useMousePassThoughWindow);

datas.monitors = glfwGetMonitors(&datas.monitorCount);
datas.videoMode = glfwGetVideoMode(datas.monitors[0]);
Expand All @@ -1873,6 +1872,7 @@ class Game

glfwSetWindowAttrib(datas.window, GLFW_DECORATED, datas.showWindow);
glfwSetWindowAttrib(datas.window, GLFW_FOCUS_ON_SHOW, GLFW_FALSE);
glfwSetWindowAttrib(datas.window, GLFW_MOUSE_PASSTHROUGH, datas.useMousePassThoughWindow);
glfwDefaultWindowHints();
}

Expand Down

0 comments on commit acfe5ac

Please sign in to comment.