[SDL] SDL_LockSurface needed for SDL_BlitSurface

Clemens Kirchgatterer clemens at thf.ath.cx
Tue Apr 13 10:20:16 PDT 2004


"Andreas Hammerschmidt" <Online.Player at gmx.net> wrote:

> But do I have to call SDL_LockSurface() before calling
> SDL_BlitSurface() or SDL_FillRect() ??

no. just when directly writing to the pixel data within the surface
struct.

clemens




More information about the SDL mailing list