recalculating size ratio every frame for now... callbacks too complicated
This commit is contained in:
parent
0323799a85
commit
ca38735484
|
@ -23,7 +23,10 @@ public abstract class Filter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void apply() {
|
public void apply() {
|
||||||
|
//shouldn't be calculating size ratio every frame,
|
||||||
|
//but getting all the callbacks right is hard
|
||||||
calcSizeRatio();
|
calcSizeRatio();
|
||||||
|
|
||||||
output.bind();
|
output.bind();
|
||||||
input.bindTexture();
|
input.bindTexture();
|
||||||
program.use();
|
program.use();
|
||||||
|
|
Loading…
Reference in New Issue