DOKK / manpages / debian 12 / libsdl1.2-dev / SDL_LockYUVOverlay.3.en
SDL_LockYUVOverlay(3) SDL API Reference SDL_LockYUVOverlay(3)

SDL_LockYUVOverlay - Lock an overlay

#include "SDL.h"

int SDL_LockYUVOverlay(SDL_Overlay *overlay);

Much the same as SDL_LockSurface, SDL_LockYUVOverlay locks the overlay for direct access to pixel data.

Returns 0 on success, or -1 on an error.

SDL_UnlockYUVOverlay, SDL_CreateYUVOverlay, SDL_Overlay

Tue 11 Sep 2001, 23:01 SDL