Fix quads with padded images, tiling will still fail

This commit is contained in:
Bart van Strien
2011-05-16 17:12:37 +02:00
parent 87fd3362e2
commit 480568e654
+2
View File
@@ -43,6 +43,8 @@ namespace opengl
void Quad::refresh(const Viewport & v, int sw, int sh)
{
sw = next_p2(sw);
sh = next_p2(sh);
viewport = v;
vertices[0].x = 0;