vi: implement CloseDisplay

This commit is contained in:
Liam
2022-10-25 17:42:02 -04:00
parent 2dd6a2352d
commit cdb9fe978f
4 changed files with 28 additions and 4 deletions

View File

@@ -106,6 +106,12 @@ public:
///
void CloseLayer(u64 layer_id);
/// Resets the display for a new connection.
void Reset() {
layers.clear();
got_vsync_event = false;
}
/// Attempts to find a layer with the given ID.
///
/// @param layer_id The layer ID.