1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-17 15:15:27 +01:00

Port most shaders to GLSL ES 3.0 (#16639)

This commit is contained in:
sfan5
2025-11-06 19:31:35 +01:00
committed by GitHub
parent 98fb381910
commit 298a27c743
37 changed files with 239 additions and 263 deletions

View File

@@ -2649,6 +2649,7 @@ ITexture *COpenGLDriver::addRenderTargetTextureCubemap(const u32 sideLen, const
SDriverLimits COpenGLDriver::getLimits() const
{
SDriverLimits ret;
ret.GLVersion = core::vector2di(Version / 100, Version % 100);
ret.MaxPrimitiveCount = 0x7fffffff;
ret.MaxTextureSize = MaxTextureSize;
return ret;