Join Slack
Communities
Powered by
but this is what I get <https://imgur.com/X4HqGsr>
# random
e
elect
02/15/2019, 6:37 PM
but this is what I get
https://imgur.com/X4HqGsr
d
Dominaezzz
02/15/2019, 6:41 PM
I've had similar problem in Kotlin/Native. Try
sc.allocateCallback { teapot.display() }
Dominaezzz
02/15/2019, 6:42 PM
Although I'm not sure if the callbacks are allowed to capture local variables.
e
elect
02/15/2019, 6:42 PM
this worked
elect
02/15/2019, 6:42 PM
freeglut_std.FI2 { teapot.display() }
d
Dominaezzz
02/15/2019, 6:42 PM
Ah makes sense.
4
Views
Open in Slack
Previous
Next