diff --git a/src/vrend_renderer.c b/src/vrend_renderer.c index 377cbe7..66e38bc 100644 --- a/src/vrend_renderer.c +++ b/src/vrend_renderer.c @@ -6730,6 +6730,13 @@ void vrend_renderer_fill_caps_gles(uint32_t set, uint32_t version, caps->v1.bset.primitive_restart = 1; } + if (gles_ver >= 30) { + caps->v1.bset.instanceid = 1; + glGetIntegerv(GL_MAX_VERTEX_UNIFORM_BLOCKS, &max); + vrend_state.max_uniform_blocks = max; + caps->v1.max_uniform_blocks = max + 1; + } + if (gles_ver >= 30) { caps->v1.bset.texture_multisample = 1; }