How do I select display device


I’m just getting started with graphics. My experience so far is a simple pygame tutorial.

I have a small TFT screen attached to a Raspberry Pi 3B on which I would like to display status information. It uses an ILI9325DS chip, and I would use notro’s fbtft. I get /dev/fb1 for it.

It would be simple if that were all, but I need the Pi’s desktop as well. Is it possible to specify the device SDL uses, or is that done at run time?