diff options
| author | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2026-03-06 13:30:59 -0800 |
| commit | 30f41c02aec763d32e62351452da9ef582bc3472 (patch) | |
| tree | 6bec3f65bfdcbf7f1a631da21a6d613bef5db2fa /contrib/SDL-3.2.8/examples/renderer/17-read-pixels/README.txt | |
| parent | 452ff21ca02e315c64ceeb3f21c1ea357aeb1bc8 (diff) | |
Move contrib libraries to contrib repo
Diffstat (limited to 'contrib/SDL-3.2.8/examples/renderer/17-read-pixels/README.txt')
| -rw-r--r-- | contrib/SDL-3.2.8/examples/renderer/17-read-pixels/README.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/SDL-3.2.8/examples/renderer/17-read-pixels/README.txt b/contrib/SDL-3.2.8/examples/renderer/17-read-pixels/README.txt deleted file mode 100644 index dd474e6..0000000 --- a/contrib/SDL-3.2.8/examples/renderer/17-read-pixels/README.txt +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | This example creates an SDL window and renderer, and draws a | ||
| 2 | rotating texture to it, reads back the rendered pixels, converts them to | ||
| 3 | black and white, and then draws the converted image to a corner of the | ||
| 4 | screen. | ||
| 5 | |||
| 6 | This isn't necessarily an efficient thing to do--in real life one might | ||
| 7 | want to do this sort of thing with a render target--but it's just a visual | ||
| 8 | example of how to use SDL_RenderReadPixels(). | ||
| 9 | |||
| 10 | A better, but less visual, use of SDL_RenderReadPixels() is to make | ||
| 11 | screenshots: you grab the current contents of the screen, and save the pixels | ||
| 12 | as a bitmap file or whatever. | ||
