From feedcddfb58d81a42a752129d14a0fad237ac503 Mon Sep 17 00:00:00 2001 From: Sean Vig Date: Tue, 12 Mar 2024 20:52:30 -0400 Subject: [PATCH] Remove test and rollback --- wlroots/wlr_types/output.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/wlroots/wlr_types/output.py b/wlroots/wlr_types/output.py index 894345c0..c4b6e044 100644 --- a/wlroots/wlr_types/output.py +++ b/wlroots/wlr_types/output.py @@ -160,9 +160,6 @@ def __enter__(self) -> Output: def __exit__(self, exc_type, exc_value, exc_tb) -> None: """Stop rendering frame, commit when exiting normally, otherwise rollback""" if exc_type is None: - if not self.test(): - self.rollback() - raise RuntimeError("Rendering on output failed") if not self.commit(): raise RuntimeError("Unable to commit output") else: