diff options
Diffstat (limited to 'include/gpu/gl/GrGLFunctions.h')
-rw-r--r-- | include/gpu/gl/GrGLFunctions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLFunctions.h b/include/gpu/gl/GrGLFunctions.h index e0bc39015f..15dc154a01 100644 --- a/include/gpu/gl/GrGLFunctions.h +++ b/include/gpu/gl/GrGLFunctions.h @@ -308,6 +308,8 @@ public: return fCall != nullptr; } + void reset() { fCall = nullptr; } + private: R (*fCall)(const void*, Args...); size_t fBuf[4]; |