Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d94a30

Browse files
authored
Merge pull request rougier#22 from encukou/patch-2
Fix variable name in code example
2 parents fdcc4f8 + 62f0ece commit 5d94a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03-quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ an input:
561561
varying vec4 v_color;
562562
void main()
563563
{
564-
gl_FragColor = color;
564+
gl_FragColor = v_color;
565565
}
566566
567567
We now need to upload vertex color to the GPU. We could create a new vertex

0 commit comments

Comments
 (0)