SDL2 Platform::get_title didn't return the title

This commit is contained in:
Noel Berry 2022-02-11 16:19:03 -08:00
parent 068d0778c2
commit ddb7d1b372

View File

@ -437,7 +437,7 @@ void Platform::present()
const char* Platform::get_title() const char* Platform::get_title()
{ {
return nullptr; return SDL_GetWindowTitle(g_platform.window);
} }
void Platform::set_title(const char* title) void Platform::set_title(const char* title)