mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-29 23:27:25 -04:00
Add Tracy stuff
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
#include <dusk/logging.h>
|
||||
#include <dusk/main.h>
|
||||
|
||||
#include "tracy/Tracy.hpp"
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
@@ -355,6 +357,7 @@ void VISetNextFrameBuffer(void* fb) {
|
||||
}
|
||||
|
||||
void VIWaitForRetrace() {
|
||||
ZoneScoped;
|
||||
sRetraceCount++;
|
||||
if (sVIPreRetraceCallback) {
|
||||
sVIPreRetraceCallback(sRetraceCount);
|
||||
|
||||
Reference in New Issue
Block a user