mirror of https://github.com/libsdl-org/SDL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 weeks ago | |
|---|---|---|
| .. | ||
| README.txt | 11 months ago | |
| load-bitmaps.c | 4 weeks ago | |
| thumbnail.png | 11 months ago | |
README.txt
This example code loads a few bitmap files from disk using the asynchronous i/o, and then draws it to the window. It uses a task group to watch multiple reads and deal with them in whatever order they finish. Note that for a single tiny file like this, you'd probably not want to bother with async i/o in real life, but this is just an example of how to do it.