Skip to content

Commit 3268a06

Browse files
committed
2 parents 0ba99b7 + afdfc39 commit 3268a06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $\text{Phi\color{red}x\color{green}os}=\color{red}\xcancel{\text{\color{black}Ph
5555
。。。
5656
}
5757
```
58-
(请在复制以上内容到文件时删除以`//`开头的注释行!)
58+
(请在复制以上内容到文件时删除以`//`开头的标红注释行!)
5959

6060
## 3. 使用
6161
0. 运行“phi,启动!.bat”以启动服务端。

src/plugins/filter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Filter.prototype.getImage = function(time, now, obj = {}) {
117117
const { type, name } = gl.getActiveUniform(this.program, i);
118118
const location = gl.getUniformLocation(this.program, name);
119119
switch (name) {
120-
case 'u_name':
120+
case 'u_time':
121121
gl.uniform1f(location, time);
122122
break;
123123
case 'u_now':

0 commit comments

Comments
 (0)