Skip to content

Commit 4207b0c

Browse files
docs: fix shader injection syntax - add missing # in fs:#decl (#9734)
1 parent 76fe082 commit 4207b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/developer-guide/custom-layers/writing-shaders.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const shaders = this.getShaders();
5959
const model = new Model(gl, {
6060
...this.getShaders(),
6161
inject: {
62-
'fs:decl': `
62+
'fs:#decl': `
6363
uniform float coverage;
6464
`
6565
'fs:DECKGL_FILTER_COLOR': `

0 commit comments

Comments
 (0)