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