mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-16 06:17:54 +00:00
Allow SetWindowSize() on web (#1847)
This commit is contained in:
parent
7203acdef9
commit
f7a6b94f46
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user