update SDL3 to 3.4.10.

This commit is contained in:
Sasha Szpakowski
2026-06-02 00:18:17 -03:00
parent 43fe5f52f1
commit c4192fe9ba
1594 changed files with 100926 additions and 191270 deletions
+4 -1
View File
@@ -88,7 +88,10 @@ Uint32 FNVHash(Uint32* buf, int length) {
* Wraps the FNV-1a hash for an input surface's pixels
*/
Uint32 hashSurfacePixels(SDL_Surface * surface) {
Uint64 buffer_size = surface->w * surface->h;
int buffer_size = surface->w * surface->h;
if (buffer_size < 0) {
return 0;
}
return FNVHash(surface->pixels, buffer_size);
}
/* ================= Test Case Implementation ================== */