but this is what I get <https://imgur.com/X4HqGsr>
# random
e
but this is what I get https://imgur.com/X4HqGsr
d
I've had similar problem in Kotlin/Native. Try
sc.allocateCallback { teapot.display() }
Although I'm not sure if the callbacks are allowed to capture local variables.
e
this worked
freeglut_std.FI2 { teapot.display() }
d
Ah makes sense.