Index: src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
diff --git a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
index c5c80bc406473e4cbb453926b55dd8107ad20bc5..6fd3d91c5aa67e1d94ad2d6f04702b0fbf4faf22 100644 |
--- a/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
+++ b/src/gpu/gl/win/GrGLCreateNativeInterface_win.cpp |
@@ -103,9 +103,6 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
SET_PROC(GetString) |
SET_PROC(GetTexLevelParameteriv) |
SET_PROC(LineWidth) |
- SET_PROC(LoadIdentity) |
- SET_PROC(LoadMatrixf) |
- SET_PROC(MatrixMode) |
SET_PROC(PixelStorei) |
SET_PROC(ReadBuffer) |
SET_PROC(ReadPixels) |
@@ -242,7 +239,12 @@ const GrGLInterface* GrGLCreateNativeInterface() { |
delete interface; |
return NULL; |
} |
+ |
WGL_SET_PROC(MapBuffer); |
+ if (extensions.has("GL_EXT_direct_state_access")) { |
+ WGL_SET_PROC_SUFFIX(MatrixLoadf, EXT); |
+ WGL_SET_PROC_SUFFIX(MatrixLoadIdentity, EXT); |
+ } |
WGL_SET_PROC(UnmapBuffer); |
if (extensions.has("GL_NV_path_rendering")) { |