mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +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()
|
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()
|
bool Image::hasMipmapSupport()
|
||||||
|
|||||||
Reference in New Issue
Block a user