Fix for No and disabeling of callback support for now

This commit is contained in:
2024-05-31 22:48:06 +02:00
parent 477fbf59e7
commit 9fab686e1e
9 changed files with 18 additions and 24 deletions

View File

@@ -1,20 +0,0 @@
#pragma once
#include "syscalls.hpp"
namespace JabyEngine {
namespace Callback {
struct VSyncCallback {
using Function = void (*)();
static Function callback;
static void install(Function function) {
VSyncCallback::callback = function;
}
static void uninstall() {
VSyncCallback::install(nullptr);
}
};
}
}