Skip to content

Commit

Permalink
steamcompmgr: Reset nIgnoredOverlayRepaint if we don't need to repain…
Browse files Browse the repository at this point in the history
…t overlays
  • Loading branch information
misyltoad committed Aug 20, 2024
1 parent 9a3d7ea commit d1b645d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/steamcompmgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7805,6 +7805,9 @@ steamcompmgr_main(int argc, char **argv)

static int nIgnoredOverlayRepaints = 0;

if ( !hasRepaintNonBasePlane )
nIgnoredOverlayRepaint = 0;

// HACK: Disable tearing if we have an overlay to avoid stutters right now
// TODO: Fix properly.
const bool bHasOverlay = ( global_focus.overlayWindow && global_focus.overlayWindow->opacity ) ||
Expand Down

0 comments on commit d1b645d

Please sign in to comment.