mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fixed another case of issue #538 (check for non power of two support does not cover all possibilities)
This commit is contained in:
@@ -48,7 +48,7 @@ Quad::~Quad()
|
||||
|
||||
void Quad::refresh(const Viewport &v, float sw, float sh)
|
||||
{
|
||||
if (!GLEE_ARB_texture_non_power_of_two)
|
||||
if (!(GLEE_VERSION_2_0 || GLEE_ARB_texture_non_power_of_two))
|
||||
{
|
||||
sw = next_p2(sw);
|
||||
sh = next_p2(sh);
|
||||
|
||||
Reference in New Issue
Block a user