mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
Skips UNIFORM buffers for GLES
Currently we don't support UNIFORM buffers for GLES.
Refs 54701868da
This commit is contained in:
parent
01bd743b30
commit
9528eb9314
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue