Decouple MicroProfileFlip from Profiler::Present (and start a new frame in XE_SWAP)
This commit is contained in:
@@ -168,6 +168,8 @@ class Profiler {
|
||||
static ui::MicroprofileDrawer* drawer() { return drawer_.get(); }
|
||||
// Presents the profiler to the bound display, if any.
|
||||
static void Present();
|
||||
// Starts a new frame on the profiler
|
||||
static void Flip();
|
||||
|
||||
private:
|
||||
static ui::Window* window_;
|
||||
|
||||
Reference in New Issue
Block a user