You are not logged in.

orca.cl

Beginner

  • "orca.cl" started this thread

Posts: 7

Location: Chile

Occupation: Graphic Design

  • Send private message

1

Thursday, March 3rd 2022, 4:19am

[FIX]WEBGL_debug_renderer_info deprecated warning alert in browser dev console.

(What a mouthful title)
Recently I've been getting a warning flag on Firefox about WEBGL_debug_renderer_info being deprecated like so:

Source code

1
WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER.


Search the interwebs and nothing came back except some solitary StackOverflow question answered by the same user later. Google offers no other solution either, just as the user points out.


I use the latest (i think) version of the embedding script from KRPANO:
krpano Embedding Script
rpano 1.20.9 (build 2020-11-19)

And found a solution, following the same advice from the user from StackOverflow piviti1057)

In tour.js this is written:


Source code

1
(o = i.getExtension("WEBGL_debug_renderer_info")),
Just change it to this:

Source code

1
(o=i.getParameter(i.RENDERER)),

The only bad thing is that since it's a recent warning, I have to be aware of making this change by hand since the software keeps using the wrong code every time I redo the tour or make a new one.
orca.cl has attached the following image:
  • snap02621.jpg
Graphic Designer, Photographer and Self Taught Web Developer.
I know I'm an unicorn. thumbsup

2

Thursday, March 3rd 2022, 5:07pm

Hi,

that's an unnecessary and unrelated warning from Firefox and can be ignored.

krpano doesn't relay on the availability of that debug info and will also work when it gets removed.

And in the latest versions (btw - 1.20.9 is not the latest ;-)) this 'problem' is also already fixed.

Best regards,
Klaus

orca.cl

Beginner

  • "orca.cl" started this thread

Posts: 7

Location: Chile

Occupation: Graphic Design

  • Send private message

3

Friday, March 18th 2022, 12:01am

Hi,

that's an unnecessary and unrelated warning from Firefox and can be ignored.

krpano doesn't relay on the availability of that debug info and will also work when it gets removed.

And in the latest versions (btw - 1.20.9 is not the latest ;-)) this 'problem' is also already fixed.

Best regards,
Klaus


Ou
Well, if this isn't an issue, if you want to, you can delete it :)
Thanks for answering!
Graphic Designer, Photographer and Self Taught Web Developer.
I know I'm an unicorn. thumbsup

Similar threads