mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Minimum required opengl version is now OpenGL 3.3 / OpenGL ES 3.0.
This commit is contained in:
@@ -253,9 +253,6 @@ Texture::Texture(Graphics *gfx, const Settings &settings, const Slices *slices)
|
||||
mipmapCount = std::min(totalMipmapCount, requestedMipmapCount);
|
||||
else
|
||||
mipmapCount = totalMipmapCount;
|
||||
|
||||
if (mipmapCount != totalMipmapCount && !caps.features[Graphics::FEATURE_MIPMAP_RANGE])
|
||||
throw love::Exception("Custom mipmap ranges for a texture are not supported on this system (%d mipmap levels are required but only %d levels were provided.)", totalMipmapCount, mipmapCount);
|
||||
}
|
||||
|
||||
const char *miperr = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user