Skip to content

Commit bcf6d18

Browse files
committed
[Feat] (VAB): Declare vertex attribute binding extension when GLES version is 3.1 or greater.
1 parent c3db934 commit bcf6d18

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/main/cpp/gles/loader.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ void InitGLESCapabilities() {
209209
if (global_settings.ext_compute_shader) {
210210
AppendExtension("GL_ARB_compute_shader");
211211
}
212+
213+
if (g_gles_caps.major > 3 || (g_gles_caps.major == 3 && g_gles_caps.minor >= 1)) {
214+
AppendExtension("GL_ARB_vertex_attrib_binding");
215+
}
212216
}
213217

214218
void init_target_gles() {

0 commit comments

Comments
 (0)