SDL2Surface.lock

Lock the surface, allow to use pixels().

class SDL2Surface
void
lock
()

Throws

SDL2Exception on error.

Meta