mirror of
https://github.com/encounter/SDL.git
synced 2025-12-16 16:37:09 +00:00
merge fallout: Patched to compile, fixed some compiler warnings, etc.
This commit is contained in:
@@ -553,7 +553,7 @@ METAL_CreateTexture(SDL_Renderer * renderer, SDL_Texture * texture)
|
||||
mtltexdesc.height = (texture->h + 1) / 2;
|
||||
}
|
||||
|
||||
if (yuv || nc12) {
|
||||
if (yuv || nv12) {
|
||||
mtltexture_uv = [data.mtldevice newTextureWithDescriptor:mtltexdesc];
|
||||
if (mtltexture_uv == nil) {
|
||||
#if !__has_feature(objc_arc)
|
||||
|
||||
Reference in New Issue
Block a user