Update GLM, Fix GenericCallable

This commit is contained in:
MrLetsplay 2023-12-23 23:20:11 +01:00
parent 0ac8674e39
commit 3051fbd3b9
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg
2 changed files with 2 additions and 2 deletions

2
dependencies/glm vendored

@ -1 +1 @@
Subproject commit 586a402397dd35d66d7a079049856d1e2cbab300 Subproject commit 2993560ec9d0307da420e7bda0f23674102deb91

View File

@ -21,7 +21,7 @@ struct GenericCallable {
data(nullptr) {} data(nullptr) {}
GenericCallable(GenericFunction<Args...> function) GenericCallable(GenericFunction<Args...> function)
: GenericCallable([](void *f) { ((GenericFunction<Args...>) f)(); }, (void *) function) {} : GenericCallable([](Args... args, void *f) { ((GenericFunction<Args...>) f)(args...); }, (void *) function) {}
GenericCallable(GenericFunction<Args..., void *> function, void *data) GenericCallable(GenericFunction<Args..., void *> function, void *data)
: function(function), : function(function),