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
|
// TODO: Issues on HighDPI scaling
|
||||||
void SetWindowSize(int width, int height)
|
void SetWindowSize(int width, int height)
|
||||||
{
|
{
|
||||||
#if defined(PLATFORM_DESKTOP)
|
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
||||||
glfwSetWindowSize(CORE.Window.handle, width, height);
|
glfwSetWindowSize(CORE.Window.handle, width, height);
|
||||||
#endif
|
#endif
|
||||||
#if defined(PLATFORM_WEB)
|
#if defined(PLATFORM_WEB)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user