aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h')
-rw-r--r--tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h
index 7582f16351..6a631be8fb 100644
--- a/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h
+++ b/tools/gpu/gl/command_buffer/GLTestContext_command_buffer.h
@@ -42,6 +42,8 @@ private:
void onPlatformMakeCurrent() const override;
+ std::function<void()> onPlatformGetAutoContextRestore() const override;
+
void onPlatformSwapBuffers() const override;
GrGLFuncPtr onPlatformGetProcAddress(const char *name) const override;