mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-17 10:25:21 +02:00
Prefer immutable texture storage when available
This commit is contained in:
@@ -131,6 +131,7 @@ void COpenGLES2Driver::initFeatures()
|
||||
// COGLESCoreExtensionHandler::Feature
|
||||
static_assert(MATERIAL_MAX_TEXTURES <= 8, "Only up to 8 textures are guaranteed");
|
||||
Feature.BlendOperation = true;
|
||||
Feature.TexStorage = Version.Major >= 3 || queryExtension("GL_ARB_texture_storage");
|
||||
Feature.ColorAttachment = 1;
|
||||
if (MRTSupported)
|
||||
Feature.ColorAttachment = GetInteger(GL_MAX_COLOR_ATTACHMENTS);
|
||||
|
Reference in New Issue
Block a user