diff options
Diffstat (limited to 'src/gpu/gl/GrGLAssembleInterface.cpp')
-rw-r--r-- | src/gpu/gl/GrGLAssembleInterface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp index 294e6dfaef..c4d3e13179 100644 --- a/src/gpu/gl/GrGLAssembleInterface.cpp +++ b/src/gpu/gl/GrGLAssembleInterface.cpp @@ -317,7 +317,8 @@ const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get) { GET_PROC(GetProgramResourceLocation); } - if (glVer >= GR_GL_VER(3,1) || extensions.has("GL_ARB_draw_instanced")) { + if (glVer >= GR_GL_VER(3,1) || extensions.has("GL_ARB_draw_instanced") || + extensions.has("GL_EXT_draw_instanced")) { GET_PROC(DrawArraysInstanced); GET_PROC(DrawElementsInstanced); } |