Skip to content

Commit

Permalink
[skip ci] potential linux window resizing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Dec 28, 2020
1 parent 6647cf6 commit 626edca
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions DearPyGui/src/platform/Linux/mvLinuxWindow.cpp
Expand Up @@ -176,13 +176,6 @@ namespace Marvel {
int display_w, display_h;
glfwGetFramebufferSize(m_window, &display_w, &display_h);

mvEventBus::Publish(mvEVT_CATEGORY_VIEWPORT, mvEVT_VIEWPORT_RESIZE, {
CreateEventArgument("actual_width", (int)m_width),
CreateEventArgument("actual_height", (int)m_height),
CreateEventArgument("client_width", display_w),
CreateEventArgument("client_height", display_h)
});

glViewport(0, 0, display_w, display_h);
glClearColor(m_clear_color[0], m_clear_color[1], m_clear_color[2], m_clear_color[3]);
glClear(GL_COLOR_BUFFER_BIT);
Expand Down

0 comments on commit 626edca

Please sign in to comment.