Can I call global functions from a Thread?

I’m trying to move the calls to DrawTiles() in my little scroll app to
a thread. Can I call DrawTiles() directly or do I need to pass a pointer (which
would be bad since I’ve forgotten how to call a function with it’s pointer :slight_smile:
). Thanks in advance!–
Jeremy Gregorio
jgreg at azstarnet.com

I’m trying to move the calls to DrawTiles() in my little scroll app to
a thread. Can I call DrawTiles() directly or do I need to pass a pointer (which
would be bad since I’ve forgotten how to call a function with it’s pointer :slight_smile:
). Thanks in advance!

I would recommend doing all your drawing and event handling in the main
thread.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software