Skip to content

Commit c3cc9b8

Browse files
committed
steamcompmgr: Fix VRR page flip check
1 parent 9936905 commit c3cc9b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/steamcompmgr.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8904,7 +8904,8 @@ steamcompmgr_main(int argc, char **argv)
89048904
}
89058905

89068906
// If we have a pending page flip and doing VRR, lets not do another...
8907-
if ( GetBackend()->GetCurrentConnector()->PresentationFeedback().CurrentPresentsInFlight() != 0 )
8907+
if ( GetBackend()->GetCurrentConnector() &&
8908+
GetBackend()->GetCurrentConnector()->PresentationFeedback().CurrentPresentsInFlight() != 0 )
89088909
bShouldPaint = false;
89098910

89108911
break;

0 commit comments

Comments
 (0)