Index: src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
diff --git a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
index 24218b02a7c08694113e3affc79706b20f9815c0..ea8026eb18c2160dee91ff984ef365a16d49a21c 100644 |
--- a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
+++ b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
@@ -118,10 +118,11 @@ const GrGLInterface* GrGLCreateMesaInterface() { |
GR_GL_GET_PROC(GetUniformLocation); |
GR_GL_GET_PROC(LineWidth); |
GR_GL_GET_PROC(LinkProgram); |
- GR_GL_GET_PROC(LoadIdentity); |
- GR_GL_GET_PROC(LoadMatrixf); |
- GR_GL_GET_PROC(MatrixMode); |
GR_GL_GET_PROC(MapBuffer); |
+ if (extensions.has("GL_EXT_direct_state_access")) { |
+ GR_GL_GET_PROC_SUFFIX(MatrixLoadf, EXT); |
+ GR_GL_GET_PROC_SUFFIX(MatrixLoadIdentity, EXT); |
+ } |
GR_GL_GET_PROC(PixelStorei); |
GR_GL_GET_PROC(ReadBuffer); |
GR_GL_GET_PROC(ReadPixels); |