mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Implement support for array textures in GL driver
note: feature detection was not implemented in the legacy driver, but the code itself probably works.
This commit is contained in:
@@ -76,6 +76,8 @@ public:
|
||||
return StencilBuffer;
|
||||
case EVDF_TEXTURE_MULTISAMPLE:
|
||||
return TextureMultisampleSupported;
|
||||
case EVDF_TEXTURE_2D_ARRAY:
|
||||
return Texture2DArraySupported;
|
||||
default:
|
||||
return false;
|
||||
};
|
||||
@@ -176,6 +178,7 @@ public:
|
||||
bool AnisotropicFilterSupported = false;
|
||||
bool BlendMinMaxSupported = false;
|
||||
bool TextureMultisampleSupported = false;
|
||||
bool Texture2DArraySupported = false;
|
||||
bool KHRDebugSupported = false;
|
||||
u32 MaxLabelLength = 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user