mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Mixed up s and t, po2ify should work correctly now, quads still broken
This commit is contained in:
@@ -287,8 +287,8 @@ namespace opengl
|
|||||||
|
|
||||||
float p2width = next_p2(width);
|
float p2width = next_p2(width);
|
||||||
float p2height = next_p2(height);
|
float p2height = next_p2(height);
|
||||||
float t = width/p2width;
|
float s = width/p2width;
|
||||||
float s = height/p2height;
|
float t = height/p2height;
|
||||||
|
|
||||||
vertices[1].t = t;
|
vertices[1].t = t;
|
||||||
vertices[2].t = t;
|
vertices[2].t = t;
|
||||||
|
|||||||
Reference in New Issue
Block a user