Add some function which allows to check for canvas size changes in emscripten.

But not yet working well together with emscripten default html template (also not worse than before).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@5507 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2017-07-18 18:42:50 +00:00
parent 6705452474
commit 60d2798d9d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ all_win32 clean_win32 static_win32: SUF=.exe
all_emscripten clean_emscripten: SUF=.html
all_emscripten: CXXFLAGS += -fno-exceptions -fno-rtti -fstrict-aliasing -std=gnu++11 -U__STRICT_ANSI__
all_emscripten: LDFLAGS += -lGL -lSDL --preload-file ../../media@/media -s ALLOW_MEMORY_GROWTH=1 -s NO_EXIT_RUNTIME=1
# enable FULL_ES2 when using EDT_OGLES2 driver
# You have to check yourself if oyu need FULL_ES2 or not (it's slower sometimes, but some stuff simply won't work yet without this)
all_emscripten: LDFLAGS += -s FULL_ES2=1
static_win32: CPPFLAGS += -D_IRR_STATIC_LIB_
all_win32: LDFLAGS += -lopengl32 -lEGL -lGLESv1_CM -lGLESv2 -lm