Graphics: Properly initialize uniform before drawing
This commit is contained in:
parent
97f18beb91
commit
4a3a769b15
|
@ -180,6 +180,7 @@ public:
|
||||||
shader.setColor(c);
|
shader.setColor(c);
|
||||||
shader.setFlash(f);
|
shader.setFlash(f);
|
||||||
shader.setTone(t);
|
shader.setTone(t);
|
||||||
|
shader.setOpacity(1.0);
|
||||||
shader.applyViewportProj();
|
shader.applyViewportProj();
|
||||||
shader.setTexSize(geometry.rect.size());
|
shader.setTexSize(geometry.rect.size());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue