mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Check for OpenGL 2.0 in NPOT check (issue #538)
This commit is contained in:
@@ -357,7 +357,7 @@ void Image::drawv(const Matrix &t, const vertex *v) const
|
||||
|
||||
bool Image::hasNpot()
|
||||
{
|
||||
return GLEE_ARB_texture_non_power_of_two != 0;
|
||||
return GLEE_VERSION_2_0 || GLEE_ARB_texture_non_power_of_two;
|
||||
}
|
||||
|
||||
bool Image::hasMipmapSupport()
|
||||
|
||||
Reference in New Issue
Block a user