Przeglądaj źródła

updated emscripten readme

dm 7 lat temu
rodzic
commit
44eec70b0c
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      readme/emscripten.txt

+ 3 - 3
readme/emscripten.txt

@@ -21,12 +21,12 @@ How to build. Steps:
 - Go to new created "build_emsc" folder and open Demo.html with Browser
 
 
-*emsc bug workaround (https://github.com/kripken/emscripten/issues/4730):
+*emsc slow performance bug workaround (https://github.com/kripken/emscripten/issues/4730):
 	open  file emsdk\emscripten\1.37.36\src\library_egl.js
 	find line:
-     	_glutInitDisplayMode(0xB2 /* GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH | GLUT_MULTISAMPLE | GLUT_STENCIL */);
+     	_glutInitDisplayMode(displayMode);
     and replace it with:
-     _glutInitDisplayMode(0x32 /* GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH | GLUT_STENCIL */);
+        displayMode = 0x32; _glutInitDisplayMode(displayMode);