-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebGL - WebAssembely not supporte #8220
Comments
You have a HTML game deployed on a website. You also have the source code with you. When you run the game as a website in NW.js, it gives a WebGL is not supported error. When you place the game's source inside the package.nw and run in with NW.js, it works fine. Is this correct? |
Yes exactly. sorry for responding lately.. also the game im deploying its on localhost. |
If you want to run the game as a website in NW.js, then you need to pass the same flags you have defined in chromium-args to the nw executable. For example: nw --flag=value --another-flag=another_value |
This sounds like a bug.. |
should i use opengl mesa or something? |
i have the 0.50.4 version of NW.JS Arm build on my raspberry pi.
the problem is when i redirect to a html game ( url ) that requires web assembely or webGL... it just errors ; Webgl is not supported update your browser;
but when i run the game from package.nw it work fine without error...
"chromium-args": "--enable-webgl --enable-webgl2 --enable-webgl2-compute-context --ignore-gpu-blacklist --enable-experimental-canvas-features --disable-plugins --disable-internal-flash --disable-popup-blocking --enable-gamepad --enable-html5-camera --allow-file-access-from-files"
Device : Raspberry PI 5 4gB ram -- Raspbian Lite 32bit -- xfce
The text was updated successfully, but these errors were encountered: