Git Product home page Git Product logo

Comments (6)

GoodBoyDigital avatar GoodBoyDigital commented on April 29, 2024

hey there! thanks for sharing the issue. I have a few questions for ya that would help me to understand what might be going on.

  • is this the exact code that does not compile?

  • which chrome version are you using?

  • is it a consistent error?

  • if you could create aplayground demonstrating the issue that would be ace!

Thanks in advance!

from pixijs.

dragoon avatar dragoon commented on April 29, 2024

Hi @GoodBoyDigital, I'll try to answer:

  • yes, this is the exact code
  • Chrome 68 (yes it's old, I'm using PIXI in the app for LG TVs, and 2020 models are based on Chrome 68)
  • Yes it's consistent
  • Will do

from pixijs.

GoodBoyDigital avatar GoodBoyDigital commented on April 29, 2024

good to know thanks!

from pixijs.

dragoon avatar dragoon commented on April 29, 2024

Hi @GoodBoyDigital, here you can see the error:
https://beta.zima.pages.dev/test/onecard

I wasn't able to do it in any of the public editors since they seems to not support chrome 68 anymore, but I did not minify JS for my example, you can clearly see where the error is happening.

from pixijs.

dragoon avatar dragoon commented on April 29, 2024

Hi @GoodBoyDigital , I found the issue, it's the comment string which Chrome 68 incorrectly interprets (it's the "'" character):

// This checks if it's WebGL1

When I removed the comment form shader source, shader compiles correctly.
We can replace it with "it is" I suppose :)

from pixijs.

dragoon avatar dragoon commented on April 29, 2024

I created a tiny PR for this change:
#10320

Feel free to adapt it on your own if necessary

from pixijs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.