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

Fix points rendering for Chrome on Mac. #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kainino0x
Copy link

This vertex attribute was used without being enabled.

On almost every platform, it so happened that the attributes here were
being assigned integer values that made the app work correctly. However,
this vertex attribute was actually relying on a vertex attrbute enabled
for one of the other draw calls. In Chrome on Mac, the vertex attributes for
the picking shader are 2,0,1 (or something like that), while they are
2,1,0 on Firefox. This seems like it's probably a property of the GL
driver; maybe Firefox works around it.

This vertex attribute was used without being enabled.

On almost every platform, it so happened that the attributes here were
being assigned integer values that made the app work correctly. However,
this vertex attribute was actually relying on a vertex attrbute enabled
for one of the other draw calls. In Chrome on Mac, the vertex attributes for
the picking shader are 2,0,1 (or something like that), while they are
2,1,0 on Firefox. This seems like it's probably a property of the GL
driver; maybe Firefox works around it.
@wumpus
Copy link

wumpus commented May 20, 2020

This definitely fixed Chrome/Mac for me!

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

Successfully merging this pull request may close these issues.

2 participants