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 zero-width line rendering #6772

Merged
merged 2 commits into from
Jun 1, 2018
Merged

fix zero-width line rendering #6772

merged 2 commits into from
Jun 1, 2018

Conversation

mollymerp
Copy link
Contributor

@mollymerp mollymerp commented Jun 1, 2018

fix #6769
we return early and abort the whole draw call if line-width is constant at 0, but also had to modify the shader in case a line-width expression evaluates to 0

cc @peterqliu

Launch Checklist

  • briefly describe the changes in this PR
  • write tests for all new functionality
  • [x ] manually test the debug page
  • tagged @mapbox/studio and/or @mapbox/maps-design if this PR includes style spec changes

@mollymerp mollymerp merged commit 45b0be0 into master Jun 1, 2018
@mollymerp mollymerp deleted the zero-width-line branch June 1, 2018 23:23
pirxpilot pushed a commit to pirxpilot/mapbox-gl-js that referenced this pull request Jun 14, 2019
* fix zero-width line rendering

* fix other line types too:
pirxpilot pushed a commit to pirxpilot/mapbox-gl-js that referenced this pull request Jun 18, 2019
* fix zero-width line rendering

* fix other line types too:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Zero-width lines remain visible
2 participants