Skips UNIFORM buffers for GLES

Currently we don't support UNIFORM buffers for GLES.

Refs 54701868da
This commit is contained in:
Vladislav Belov 2026-05-22 23:14:30 +02:00
parent 01bd743b30
commit a0ecfbaa33
No known key found for this signature in database
GPG key ID: 353545E45DB9CCB3

View file

@ -259,6 +259,10 @@ CDeviceCommandContext::CDeviceCommandContext(CDevice* device)
// Currently we don't support upload buffers for GL. // Currently we don't support upload buffers for GL.
if (type == CBuffer::Type::UPLOAD) if (type == CBuffer::Type::UPLOAD)
continue; continue;
#if CONFIG2_GLES
if (type == CBuffer::Type::UNIFORM)
continue;
#endif
const GLenum target = BufferTypeToGLTarget(type); const GLenum target = BufferTypeToGLTarget(type);
const GLuint handle = 0; const GLuint handle = 0;
m_BoundBuffers[index].first = target; m_BoundBuffers[index].first = target;