[hatari-devel] missing SDL_Lock in png snapshot ?
npomarede at corp.free.fr
npomarede at corp.free.fr
Wed Sep 23 23:25:38 CEST 2009
Hello,
looking at the png screenshot's code, I see a call to SDL_UnlockSurface
after processing each row, but I don't see the corresponding
SDL_LockSurface.
Am I missing something or is this really an (harmless) error ? Why is a
lock required for each row, would it be enough to lock at start and unlock
when whole screen was saved as png ?
Eero, any idea ? (I think you're the one who wrote png support)
Nicolas
More information about the hatari-devel
mailing list