Graphics: Properly initialize uniform before drawing

This commit is contained in:
Jonas Kulla 2014-07-15 11:54:31 +02:00
parent 97f18beb91
commit 4a3a769b15
1 changed files with 1 additions and 0 deletions

View File

@ -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());