Index: src/gpu/gl/angle/SkANGLEGLContext.cpp |
diff --git a/src/gpu/gl/angle/SkANGLEGLContext.cpp b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
index fea27622a018ae0fa83d9166e8a0d9cfa9963a60..2600ec46347366cf0043fa41d6051b6fb9923229 100644 |
--- a/src/gpu/gl/angle/SkANGLEGLContext.cpp |
+++ b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
@@ -105,3 +105,9 @@ void SkANGLEGLContext::makeCurrent() const { |
SkDebugf("Could not set the context.\n"); |
} |
} |
+ |
+void SkANGLEGLContext::swapBuffers() const { |
+ if (!eglSwapBuffers(fDisplay, fSurface)) { |
+ SkDebugf("Could not complete eglSwapBuffers.\n"); |
+ } |
+} |