Open
Description
Display surface missing locking. surface
should be locked while game logic is updating the content and unlocked for rendering. It would guarantee that the pixel data pointer is valid. It happens to work without locking for now but it might break on any SDL update or on some new platform.
See SDL_LockSurface.