Add missing implementations 3

This commit is contained in:
ubkp 2023-10-16 23:31:54 -03:00
parent 13c03453d5
commit 89dbf19023

View File

@ -292,13 +292,15 @@ void SetWindowIcons(Image *images, int count)
// Set title for window // Set title for window
void SetWindowTitle(const char *title) void SetWindowTitle(const char *title)
{ {
SDL_SetWindowTitle(platform.window, title);
CORE.Window.title = title; CORE.Window.title = title;
} }
// Set window position on screen (windowed mode) // Set window position on screen (windowed mode)
void SetWindowPosition(int x, int y) void SetWindowPosition(int x, int y)
{ {
TRACELOG(LOG_WARNING, "SetWindowPosition() not available on target platform"); SDL_SetWindowPosition(platform.window, x, y);
} }
// Set monitor for the current window // Set monitor for the current window