mapbox / mapbox/mapbox-gl-js

Lines not rendered if no VAO extension in symbol-placement/line-center/basic render test

Open
#12,521 0 comments 0 reactions 0 assignees View on GitHub
auto-triaged bug :lady_beetle:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

The issue is noticed with [WebLG2 PR](https://github.com/mapbox/mapbox-gl-js/pull/12514) before VAO got enabled. It is reproducible with WebGL1 also if not using VAO extension.

WebGL: INVALID_OPERATION: drawElements: no buffer is bound to enabled attribute

Screenshot 2023-01-16 at 15 21 29

![Screenshot 2023-01-16 at 14 39 34](https://user-images.githubusercontent.com/549216/212765248-951382fb-68c2-4cf5-85ea-1bb9b98b3865.png)

Contributor guide

Open the contributing guide

Research direction

Start with the symbol-placement/line-center/basic render test and reproduce it without the VAO extension in WebGL1. The work is done when the lines render without the reported drawElements INVALID_OPERATION; the issue does not identify a source file or a specific implementation approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.