aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/null
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu/gl/null')
-rw-r--r--tools/gpu/gl/null/NullGLTestContext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpu/gl/null/NullGLTestContext.cpp b/tools/gpu/gl/null/NullGLTestContext.cpp
index 894de0709a..9e7279b501 100644
--- a/tools/gpu/gl/null/NullGLTestContext.cpp
+++ b/tools/gpu/gl/null/NullGLTestContext.cpp
@@ -22,6 +22,7 @@ public:
private:
void onPlatformMakeCurrent() const override {}
+ std::function<void()> onPlatformGetAutoContextRestore() const override { return nullptr; }
void onPlatformSwapBuffers() const override {}
GrGLFuncPtr onPlatformGetProcAddress(const char*) const override { return nullptr; }
};