Chromium Code Reviews| Index: src/gpu/gl/GrGLAssembleInterface.cpp |
| diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp |
| index f19a1cb0755fe042c021108019820169dbe83aaf..4c9725439049aecf47fda254a80c9cdf67a25f41 100644 |
| --- a/src/gpu/gl/GrGLAssembleInterface.cpp |
| +++ b/src/gpu/gl/GrGLAssembleInterface.cpp |
| @@ -450,6 +450,14 @@ const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get) { |
| } |
| } |
| + if (glVer >= GR_GL_VER(4,3)) { |
| + GET_PROC(FramebufferParameteri); |
| + } |
| + if (extensions.has("GL_NV_sample_locations")) { |
| + GET_PROC_SUFFIX(NamedFramebufferSampleLocationsfv, NV); |
| + GET_PROC_SUFFIX(GetMultisamplefv, NV); |
|
Chris Dalton
2015/09/22 08:35:24
For glGetMultisamplefv we should check for GL vers
|
| + } |
| + |
| if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_KHR_debug")) { |
| // KHR_debug defines these methods to have no suffix in an OpenGL (not ES) context. |
| GET_PROC(DebugMessageControl); |