Skip to content

Commit 4156c30

Browse files
committed
sdl: surface: Fix stub functions
1 parent dfd96dd commit 4156c30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdl/surface.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package sdl
55
66
#if !(SDL_VERSION_ATLEAST(2,0,5))
77
#pragma message("SDL_CreateRGBSurfaceWithFormat is not supported before SDL 2.0.5")
8-
static inline SDL_Surface* SDL_UpdateYUVTexture(Uint32 flags, int width, int height, int depth, Uint32 format)
8+
static inline SDL_Surface* SDL_CreateRGBSurfaceWithFormat(Uint32 flags, int width, int height, int depth, Uint32 format)
99
{
1010
return NULL;
1111
}

0 commit comments

Comments
 (0)