1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Remove calls to gl.getError in release builds (#1583)

This slows down the web version a lot, especially on some browsers

Publish new web demo
This commit is contained in:
Emil Ernerfeldt
2022-05-05 23:17:33 +02:00
committed by GitHub
parent cb2298e98b
commit e82b87ca73
7 changed files with 37 additions and 4 deletions

View File

@@ -17,14 +17,19 @@ while test $# -gt 0; do
echo " --open: open the result in a browser"
exit 0
;;
# Skip running `wasm-opt`.
# --fast also preserves debug symbols, which is great for profiling.
--fast)
shift
FAST=true
;;
--open)
shift
OPEN=true
;;
*)
break
;;