Skip to content

Commit

Permalink
Merge branch 'main' into feat/tex-compress
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Jan 31, 2025
2 parents 3c56404 + 12f7c08 commit 1751457
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

### Fixed:
- Fix switching view modes with "Table header outside list" disabled (by @Willy-JL)
- Fix flashbang while interface is loading (#221 by @sodamouse)
- Fix GUI redraws not pausing when unfocused, hovered and not moving mouse (by @Willy-JL)
- Fix missing `libbz2.so` on linux binary bundles (#222 by @Willy-JL)
- Apply images more efficiently, reduce stutters while scrolling (#212 by @Willy-JL)
Expand Down
5 changes: 5 additions & 0 deletions modules/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ def __init__(self):
glfw.window_hint(glfw.CONTEXT_VERSION_MINOR, 3)
glfw.window_hint(glfw.OPENGL_PROFILE, glfw.OPENGL_CORE_PROFILE)
glfw.window_hint(glfw.OPENGL_FORWARD_COMPAT, gl.GL_TRUE) # OS X supports only forward-compatible core profiles from 3.2
glfw.window_hint(glfw.VISIBLE, False)

# Create a windowed mode window and its OpenGL context
self.window: glfw._GLFWwindow = glfw.create_window(*size, "F95Checker", None, None)
Expand Down Expand Up @@ -842,6 +843,7 @@ def main_loop(self):
draw_next = 5.0
size = (0, 0)
cursor = -1
first_frame = True
try:
# While window is open
while not glfw.window_should_close(self.window):
Expand Down Expand Up @@ -1018,6 +1020,9 @@ def main_loop(self):
imagehelper.post_draw()
# Wait idle time
glfw.swap_buffers(self.window)
if first_frame:
glfw.show_window(self.window)
first_frame = False
else:
time.sleep(1 / 15)
else:
Expand Down

0 comments on commit 1751457

Please sign in to comment.