mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00: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:
parent
d5bf094f9a
commit
46db688cc8
14 changed files with 111 additions and 72 deletions
|
@ -39,7 +39,8 @@ public:
|
|||
|
||||
COGLESCoreExtensionHandler() :
|
||||
MaxAnisotropy(1), MaxIndices(0xffff),
|
||||
MaxTextureSize(1), MaxTextureLODBias(0.f), StencilBuffer(false)
|
||||
MaxTextureSize(1), MaxArrayTextureLayers(1),
|
||||
MaxTextureLODBias(0.f), StencilBuffer(false)
|
||||
{
|
||||
for (u32 i = 0; i < IRR_OGLES_Feature_Count; ++i)
|
||||
FeatureAvailable[i] = false;
|
||||
|
@ -87,6 +88,7 @@ protected:
|
|||
u8 MaxAnisotropy;
|
||||
u32 MaxIndices;
|
||||
u32 MaxTextureSize;
|
||||
u32 MaxArrayTextureLayers;
|
||||
f32 MaxTextureLODBias;
|
||||
//! Minimal and maximal supported thickness for lines without smoothing
|
||||
float DimAliasedLine[2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue