mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-29 17:08:56 +08:00
SDL2 Platform::get_title didn't return the title
This commit is contained in:
parent
068d0778c2
commit
ddb7d1b372
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user