diff options
author | Robert Phillips <robertphillips@google.com> | 2018-06-22 09:48:38 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-06-25 12:09:55 +0000 |
commit | 752e08b1ae3eeae807a8262380dc02ba9af9c989 (patch) | |
tree | d3d528d1d823be721ca9fb4065666a76aa8e5e5f /tools/gpu | |
parent | 900b5364d12e6dc05c89892d72ed7de5488584b8 (diff) |
Fix abandonment of programs
Bug: skia:8092
TBR=bsalomon@google.com
Change-Id: If9cf4ed9f8ded4b7fbb58a244ec0b179b8430ca2
Reviewed-on: https://skia-review.googlesource.com/137121
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'tools/gpu')
-rw-r--r-- | tools/gpu/gl/debug/DebugGLTestContext.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gpu/gl/debug/DebugGLTestContext.cpp b/tools/gpu/gl/debug/DebugGLTestContext.cpp index 59f3c93fa2..3a2c0b93f6 100644 --- a/tools/gpu/gl/debug/DebugGLTestContext.cpp +++ b/tools/gpu/gl/debug/DebugGLTestContext.cpp @@ -69,7 +69,10 @@ public: this->report(); } - void abandon() const override { fAbandoned = true; } + void abandon() const override { + INHERITED::abandon(); + fAbandoned = true; + } GrGLvoid activeTexture(GrGLenum texture) override { // Ganesh offsets the texture unit indices |