diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library_sdl.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library_sdl.js b/src/library_sdl.js index 62353c59..9314493f 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -1439,6 +1439,10 @@ var LibrarySDL = { return id; }, + TTF_CloseFont: function(font) { + SDL.fonts[font] = null; + }, + TTF_RenderText_Solid: function(font, text, color) { // XXX the font and color are ignored text = Pointer_stringify(text) || ' '; // if given an empty string, still return a valid surface |