Update GLM, Fix GenericCallable
This commit is contained in:
parent
0ac8674e39
commit
3051fbd3b9
2
dependencies/glm
vendored
2
dependencies/glm
vendored
@ -1 +1 @@
|
||||
Subproject commit 586a402397dd35d66d7a079049856d1e2cbab300
|
||||
Subproject commit 2993560ec9d0307da420e7bda0f23674102deb91
|
@ -21,7 +21,7 @@ struct GenericCallable {
|
||||
data(nullptr) {}
|
||||
|
||||
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)
|
||||
: function(function),
|
||||
|
Loading…
Reference in New Issue
Block a user