Minimum required opengl version is now OpenGL 3.3 / OpenGL ES 3.0.

This commit is contained in:
Sasha Szpakowski
2024-06-19 18:08:09 -03:00
parent 5112345893
commit 54a31ec615
17 changed files with 121 additions and 623 deletions
-3
View File
@@ -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;