mirror of
https://github.com/NoelFB/blah.git
synced 2026-10-18 18:59:23 +08:00
SDL2 Platform::get_title didn't return the title
This commit is contained in:
1 parent
068d0778c2
commit
ddb7d1b372
1 file changed
+1
-1
@@ -437,7 +437,7 @@ void Platform::present()
|
||||
|
||||
const char* Platform::get_title()
|
||||
{
|
||||
return nullptr;
|
||||
return SDL_GetWindowTitle(g_platform.window);
|
||||
}
|
||||
|
||||
void Platform::set_title(const char* title)
|
||||
|
||||
Reference in new issue
Block a user