mirror of
https://github.com/love2d/love.git
synced 2026-08-13 17:10:54 +02:00
Fix quads with padded images, tiling will still fail
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user