Commit 6aaa776
committed
Image module SDL3 support
- Rework argument order of PG_CreateSurfaceFrom to match newest SDL3 (they changed it)
- Deal with all the pixelformat fallout throughout the file
- Fix TGA saving routine file writes
- Switch out SDL_SetPaletteColors (all colors) for SDL_SetSurfacePalette1 parent 6e0e0c6 commit 6aaa776
5 files changed
+143
-88
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
0 commit comments