gg: remove an old compielr hack that's no longer needed

pull/6439/head
Alexander Medvednikov 2020-09-21 02:51:14 +02:00
parent 8c8fe02000
commit 27f91faae5
1 changed files with 0 additions and 8 deletions

View File

@ -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) {
e := &sapp.Event(ce)
mut g := &Context(user_data)