Fix for No and disabeling of callback support for now

This commit is contained in:
Jaby
2024-05-31 22:48:06 +02:00
parent 457422877f
commit 3eb2cc350f
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);
}
};
}
}