From 752e08b1ae3eeae807a8262380dc02ba9af9c989 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 22 Jun 2018 09:48:38 -0400 Subject: 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 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- tools/gpu/gl/debug/DebugGLTestContext.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/gpu') 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 -- cgit v1.2.3