mirror of
https://github.com/luanti-org/luanti.git
synced 2025-12-19 13:25:47 +01:00
Port most shaders to GLSL ES 3.0 (#16639)
This commit is contained in:
@@ -1687,6 +1687,7 @@ ITexture *COpenGL3DriverBase::addRenderTargetTextureCubemap(const u32 sideLen, c
|
||||
SDriverLimits COpenGL3DriverBase::getLimits() const
|
||||
{
|
||||
SDriverLimits ret;
|
||||
ret.GLVersion = core::vector2di(Version.Major, Version.Minor);
|
||||
ret.MaxPrimitiveCount = Version.Spec == OpenGLSpec::ES ? UINT16_MAX : INT32_MAX;
|
||||
ret.MaxTextureSize = MaxTextureSize;
|
||||
ret.MaxArrayTextureImages = MaxArrayTextureLayers;
|
||||
|
||||
Reference in New Issue
Block a user