update SDL3 from 3.2.20 to 3.4.2

This commit is contained in:
Sven Balzer
2026-04-01 18:25:03 +02:00
parent 1daf4d79f1
commit 05b19704f8
1626 changed files with 124218 additions and 191491 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 ================== */