diff options
Diffstat (limited to 'samplecode/SampleApp.cpp')
| -rw-r--r-- | samplecode/SampleApp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index 6d5f647b15..72122234d9 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -261,7 +261,7 @@ public: fCurIntf = nullptr; SkDebugf("Failed to setup 3D"); - win->detach(); + win->release(); } #endif // SK_SUPPORT_GPU // call windowSizeChanged to create the render target @@ -283,7 +283,7 @@ public: SkSafeUnref(fCurRenderTarget); fCurRenderTarget = nullptr; #endif - win->detach(); + win->release(); fBackend = kNone_BackEndType; } |
