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 · 2 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

@Finomnis
Copy link

Finomnis commented Jan 27, 2025

Question is, does this actually affect anything? What is this extension used for?

EDIT: In this crate, it isn't used at all. And this crate just provides those extensions for others to use. So this crate cannot actually do anything about that. So this warning should resolve itself once Firefox actually does deactivate that extension.

For example, egui_glow is already aware of this warning and produces it on purpose because there's no real way around it.

@Finomnis
Copy link

So I think this issue is not actually related to this crate and can be closed.

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

2 participants