mirror of
https://github.com/encounter/engine.git
synced 2026-07-10 03:18:43 -07:00
This reverts commit 6430ecfd39.
This commit is contained in:
committed by
Kaushik Iska
parent
fad86658dc
commit
07429c1c3f
@@ -63,14 +63,14 @@ void SessionConnection::Present(
|
||||
ToggleSignal(vsync_event_handle_, false);
|
||||
} else {
|
||||
PresentSession();
|
||||
|
||||
// Execute paint tasks and signal fences.
|
||||
auto surfaces_to_submit = scene_update_context_.ExecutePaintTasks(frame);
|
||||
|
||||
// Tell the surface producer that a present has occurred so it can perform
|
||||
// book-keeping on buffer caches.
|
||||
surface_producer_->OnSurfacesPresented(std::move(surfaces_to_submit));
|
||||
}
|
||||
|
||||
// Execute paint tasks and signal fences.
|
||||
auto surfaces_to_submit = scene_update_context_.ExecutePaintTasks(frame);
|
||||
|
||||
// Tell the surface producer that a present has occurred so it can perform
|
||||
// book-keeping on buffer caches.
|
||||
surface_producer_->OnSurfacesPresented(std::move(surfaces_to_submit));
|
||||
}
|
||||
|
||||
void SessionConnection::OnSessionSizeChangeHint(float width_change_factor,
|
||||
|
||||
Reference in New Issue
Block a user