diff options
| author | Nikhilesh S <[email protected]> | 2021-06-23 01:02:18 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-06-23 10:02:18 +0200 |
| commit | f7a6b94f46b296394791a8104663bcc94a877b1a (patch) | |
| tree | e25f19386d5f2166b330a0cea6ef790cc8bbb29b | |
| parent | 7203acdef974014fde0629b49ea8d6a70e7de4d6 (diff) | |
| download | raylib-f7a6b94f46b296394791a8104663bcc94a877b1a.tar.gz raylib-f7a6b94f46b296394791a8104663bcc94a877b1a.zip | |
Allow SetWindowSize() on web (#1847)
| -rw-r--r-- | src/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
