Skip to content
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

Open
bargmy opened this issue Sep 27, 2024 · 1 comment
Open

WebGL - WebAssembely not supporte #8220

bargmy opened this issue Sep 27, 2024 · 1 comment
Labels

Comments

@bargmy
Copy link

bargmy commented Sep 27, 2024

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

@ayushmanchhabra
Copy link
Contributor

ayushmanchhabra commented Nov 13, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants