mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-24 03:58:29 +00:00
Allow SetWindowSize() on web (#1847)
This commit is contained in:
@@ -1560,7 +1560,7 @@ void SetWindowMinSize(int width, int height)
|
||||
// TODO: Issues on HighDPI scaling
|
||||
void SetWindowSize(int width, int height)
|
||||
{
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
||||
glfwSetWindowSize(CORE.Window.handle, width, height);
|
||||
#endif
|
||||
#if defined(PLATFORM_WEB)
|
||||
|
Reference in New Issue
Block a user