Explorar o código

Fix compilation on Window10 (see bug #5430)

Sylvain Becker %!s(int64=5) %!d(string=hai) anos
pai
achega
73d93dbc38
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/render/direct3d11/SDL_render_d3d11.c

+ 1 - 1
src/render/direct3d11/SDL_render_d3d11.c

@@ -1404,7 +1404,7 @@ D3D11_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture,
 }
 
 static int
-D3D11_UpdateTextureYUV(SDL_Renderer * renderer, SDL_Texture * texture,
+D3D11_UpdateTextureNV(SDL_Renderer * renderer, SDL_Texture * texture,
                        const SDL_Rect * rect,
                        const Uint8 *Yplane, int Ypitch,
                        const Uint8 *UVplane, int UVpitch)