Jump to content

WebGL Bug in Phaser.js


Zackorz
 Share

Recommended Posts

Hi,

 

i programmed a testfile, that works fine on mobile devices, Firefox, Chrome, Opera and Safari.

 

Just Internet Explorer (11) makes trouble.

 

I get over 100 error messages that all seem to occure because of "WebGL".

 

 

Here some examples:

 

 

"WEBGL11004: INVALID_OPERATION: vertexAttribPointer
File: phaser.min.js, Zeile: 4, Spalte: 31287"

 

"WEBGL11094: INVALID_OPERATION: vertexAttribPointer: Die Aufzählung UNSIGNED_BYTE is currently not supported
Filei: phaser.min.js, Zeile: 4, Spalte: 31287"

 

I think i dont need "WebGl", Canvas would be fine for me.

 

 

 

Can anyone tell me what to do?

Link to comment
Share on other sites

You'll have to check against the navigator.userAgent for "MSIE" and then use the Phaser.CANVAS renderer if found.

 

Tried that but the strange thing is, that "MSIE" ist never found, even if  internet explorer is used. I tried several methods that are posted on different sites but always get the same result...

 

Maybe because Internet Explorer is based on Mozilla 5.0 ??

Link to comment
Share on other sites

Maybe because Internet Explorer is based on Mozilla 5.0 ??

LOL, it really isn't though (it was a historical "user agent cloak" to get the version of the page server's were serving to the popular Mozilla browser when IE was first released)
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...