Merge pull request #224 from iyinchao/zh-cn-chap2

Fix a mistake in the Chinese translation (Chapter 2)
This commit is contained in:
Patricio Gonzalez Vivo 2018-06-25 09:44:10 -07:00 committed by GitHub
commit 97f3ac5df5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ void main() {
* 试试把第六行注释掉,不给函数赋任何像素的值。
* 尝试另外写个函数,返回某个颜色,然后把 ```main()``` 放到这个函数里面。给个提示,这个函数应该长这样:
* 尝试另外写个函数,返回某个颜色,然后在 ```main()``` 里面使用这个函数。给个提示,这个函数应该长这样:
```glsl
vec4 red(){