From a0ecfbaa3344d71872c4957b64fd9ec96fbcc450 Mon Sep 17 00:00:00 2001 From: Vladislav Belov Date: Fri, 22 May 2026 23:14:30 +0200 Subject: [PATCH] Skips UNIFORM buffers for GLES Currently we don't support UNIFORM buffers for GLES. Refs 54701868da3df0f00b554d71616ab54990ee47d8 --- source/renderer/backend/gl/DeviceCommandContext.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/renderer/backend/gl/DeviceCommandContext.cpp b/source/renderer/backend/gl/DeviceCommandContext.cpp index c14fd1aa0f..28425ccd6e 100644 --- a/source/renderer/backend/gl/DeviceCommandContext.cpp +++ b/source/renderer/backend/gl/DeviceCommandContext.cpp @@ -259,6 +259,10 @@ CDeviceCommandContext::CDeviceCommandContext(CDevice* device) // Currently we don't support upload buffers for GL. if (type == CBuffer::Type::UPLOAD) continue; +#if CONFIG2_GLES + if (type == CBuffer::Type::UNIFORM) + continue; +#endif const GLenum target = BufferTypeToGLTarget(type); const GLuint handle = 0; m_BoundBuffers[index].first = target;