Error with text_surface:set_rendering_mode("antialiasing")
I get the following error when I call "title_surface:set_rendering_mode("antialiasing")", where title_surface is a text surface:
Error: In on_started: [string "scripts/menus/start_menu.lua"]:33: calling set_rendering_mode on bad self (string expected, got userdata))
There is no problem if I choose the rendering mode as "antialiasing" in the list of properties to create the text surface.