gg: remove an old compielr hack that's no longer needed
parent
8c8fe02000
commit
27f91faae5
|
@ -139,14 +139,6 @@ fn gg_frame_fn(user_data voidptr) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: remove this hacky workaround...
|
|
||||||
// NB: todo_remove_this is needed to workaround a v bug,
|
|
||||||
// where it thinks that &sapp.Event(x) is a function call,
|
|
||||||
// instead of a cast, if v has not yet seen &sapp.Event used
|
|
||||||
// as a parameter type.
|
|
||||||
//fn todo_remove_this(e &sapp.Event) {
|
|
||||||
//}
|
|
||||||
|
|
||||||
fn gg_event_fn(ce &C.sapp_event, user_data voidptr) {
|
fn gg_event_fn(ce &C.sapp_event, user_data voidptr) {
|
||||||
e := &sapp.Event(ce)
|
e := &sapp.Event(ce)
|
||||||
mut g := &Context(user_data)
|
mut g := &Context(user_data)
|
||||||
|
|
Loading…
Reference in New Issue