tweaks
This commit is contained in:
parent
d91b9171fa
commit
4bb894f171
2 changed files with 2 additions and 9 deletions
|
@ -1566,13 +1566,6 @@ void SetWindowSize(int width, int height)
|
|||
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
|
||||
glfwSetWindowSize(CORE.Window.handle, width, height);
|
||||
#endif
|
||||
#if defined(PLATFORM_WEB)
|
||||
//emscripten_set_canvas_size(width, height); // DEPRECATED!
|
||||
|
||||
// TODO: Below functions should be used to replace previous one but they do not seem to work properly
|
||||
//emscripten_set_canvas_element_size("canvas", width, height);
|
||||
//emscripten_set_element_css_size("canvas", width, height);
|
||||
#endif
|
||||
}
|
||||
|
||||
// Set window opacity, value opacity is between 0.0 and 1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue