diff options
Diffstat (limited to 'src/gpu/gl/debug/SkDebugGLContext.cpp')
-rw-r--r-- | src/gpu/gl/debug/SkDebugGLContext.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gpu/gl/debug/SkDebugGLContext.cpp b/src/gpu/gl/debug/SkDebugGLContext.cpp index ae42227251..93c0b30b8b 100644 --- a/src/gpu/gl/debug/SkDebugGLContext.cpp +++ b/src/gpu/gl/debug/SkDebugGLContext.cpp @@ -8,6 +8,10 @@ #include "gl/SkDebugGLContext.h" -const GrGLInterface* SkDebugGLContext::createGLContext() { +const GrGLInterface* SkDebugGLContext::createGLContext(GrGLStandard forcedGpuAPI) { + if (kGLES_GrGLStandard == forcedGpuAPI) { + return NULL; + } + return GrGLCreateDebugInterface(); }; |