Skip to content

Commit ddcf9de

Browse files
committed
Merge pull request emscripten-core#2909 from caiiiycuk/sdl_missed_fun
Fix wrong implementation of SDL_DisplayFormatAlpha
2 parents 386e0f8 + 957344d commit ddcf9de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/library_sdl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1717,7 +1717,7 @@ var LibrarySDL = {
17171717

17181718
SDL_DisplayFormatAlpha__deps: ['SDL_ConvertSurface'],
17191719
SDL_DisplayFormatAlpha: function(surf) {
1720-
return SDL.SDL_ConvertSurface(surf);
1720+
return _SDL_ConvertSurface(surf);
17211721
},
17221722

17231723
SDL_FreeSurface: function(surf) {

0 commit comments

Comments
 (0)