MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_LockTextureYUV

Function SDL_LockTextureYUV

deps/SDL2/src/render/SDL_render.c:1680–1685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1678
1679#if SDL_HAVE_YUV
1680static int
1681SDL_LockTextureYUV(SDL_Texture * texture, const SDL_Rect * rect,
1682 void **pixels, int *pitch)
1683{
1684 return SDL_SW_LockYUVTexture(texture->yuv, rect, pixels, pitch);
1685}
1686#endif /* SDL_HAVE_YUV */
1687
1688static int

Callers 1

SDL_LockTextureFunction · 0.85

Calls 1

SDL_SW_LockYUVTextureFunction · 0.85

Tested by

no test coverage detected