pygame-ce icon indicating copy to clipboard operation
pygame-ce copied to clipboard

Use SDL_AllocFormat instead of creating it manually

Open marcin-serwin opened this issue 1 week ago • 4 comments
trafficstars

According to the docs, SDL_PixelFormat is a read-only structure. Creating it manually leaves out some important fields like format and next pointer to be undefined.

marcin-serwin avatar Nov 08 '25 18:11 marcin-serwin