-
Notifications
You must be signed in to change notification settings - Fork 246
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
failed to create Canvas, there's a bug in the shader #37
Comments
This is not your fault, it's just that your OpenGL driver for some reason doesn't support OpenGL shader language version 130. Is this the first time you're running Pixel? |
Yep, clone this lib 5 minutes ago |
@objque The panic message you got is all you got? When I run Pixel with a weird GLSL version it also tells me which GLSL versions are supported. |
Try switching to the version before I switched to OpenGL 2.1 (from 3.3) like this:
This will undo recent commits and get you to version 0.6. I think this should help right now. |
Yea, only the panic msg. |
Now it should be OK in the latest version too. Does it work with the latest commits? |
Yea, it's works with latest commits. Smoke has builded. |
Cool! |
Another data point: I had this exact issue when running a binary (compiled under Sierra, before you fixed this issue) on a machine having El Capitan installed. |
I've just tried to compile platform/smoke examples and saw an error
panic: failed to create Canvas, there's a bug in the shader: error compiling vertex shader: ERROR: 0:2: '' : version '130' is not supported
stacktrace
go version
go version go1.8.3 darwin/amd64
os: macOS
what i'm doing wrong? i don't edit anything
The text was updated successfully, but these errors were encountered: