| Index: src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp
|
| diff --git a/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp b/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp
|
| index d47cc612033bdbb6f5c370fdbd5e431743075c00..4d5b8f4563ed6fb79939e8e106ebf9e90ab8d28f 100644
|
| --- a/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp
|
| +++ b/src/gpu/gl/unix/GrGLCreateNativeInterface_unix.cpp
|
| @@ -119,6 +119,10 @@ const GrGLInterface* GrGLCreateNativeInterface() {
|
| functions->fLineWidth = glLineWidth;
|
| GR_GL_GET_PROC(LinkProgram);
|
| 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);
|
| + }
|
| functions->fPixelStorei = glPixelStorei;
|
| functions->fReadBuffer = glReadBuffer;
|
| functions->fReadPixels = glReadPixels;
|
| @@ -214,10 +218,6 @@ const GrGLInterface* GrGLCreateNativeInterface() {
|
| return NULL;
|
| }
|
|
|
| - GR_GL_GET_PROC(LoadIdentity);
|
| - GR_GL_GET_PROC(LoadMatrixf);
|
| - GR_GL_GET_PROC(MatrixMode);
|
| -
|
| if (extensions.has("GL_NV_path_rendering")) {
|
| GR_GL_GET_PROC_SUFFIX(PathCommands, NV);
|
| GR_GL_GET_PROC_SUFFIX(PathCoords, NV);
|
|
|