Name

SDL_LockYUVOverlay — Lock an overlay

Synopsis

#include "SDL.h"
int SDL_LockYUVOverlay( SDL_Overlay *  overlay);

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

SDL_UnlockYUVOverlay(3), SDL_CreateYUVOverlay(3), SDL_Overlay(3)

COPYRIGHT

This manual page is taken from the SDL library, licensed under GNU LGPL.