Index: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
diff --git a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
index 17d08b10d0be728da6414f311903ee3ed6e9539e..4c3d03fd3756b4e4005b61a4cdec8ccc984787ec 100644 |
--- a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
+++ b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
@@ -124,10 +124,11 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
GET_PROC(GetUniformLocation); |
GET_PROC(LineWidth); |
GET_PROC(LinkProgram); |
- GET_PROC(LoadIdentity); |
- GET_PROC(LoadMatrixf); |
GET_PROC(MapBuffer); |
- GET_PROC(MatrixMode); |
+ if (extensions.has("GL_EXT_direct_state_access")) { |
+ GET_PROC_SUFFIX(MatrixLoadf, EXT); |
+ GET_PROC_SUFFIX(MatrixLoadIdentity, EXT); |
+ } |
GET_PROC(PixelStorei); |
GET_PROC(ReadBuffer); |
GET_PROC(ReadPixels); |