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_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. #235

Open
jjant opened this issue Dec 18, 2022 · 0 comments

Comments

@jjant
Copy link

jjant commented Dec 18, 2022

This snippet makes Firefox give the warning in the title:

glow/src/web_sys.rs

Lines 218 to 221 in 7e702f6

webgl_debug_renderer_info: get_extension::<web_sys::WebglDebugRendererInfo>(
&$context,
"WEBGL_debug_renderer_info",
),

I'm not sure about how glow uses that information (if it does at all), but it looks like you can use ctx.getParameter(ctx.RENDERER) to get something similar:
https://stackoverflow.com/questions/69055946/what-does-the-message-webgl-debug-renderer-info-is-deprecated-in-firefox-and-wi

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

No branches or pull requests

1 participant