| Index: include/gpu/gl/SkGLContext.h
|
| diff --git a/include/gpu/gl/SkGLContext.h b/include/gpu/gl/SkGLContext.h
|
| index ddf5dc080a113ec648e9b94409184e22eda21610..fe41a606ef19923d246f31eab3269f63b0973c27 100644
|
| --- a/include/gpu/gl/SkGLContext.h
|
| +++ b/include/gpu/gl/SkGLContext.h
|
| @@ -25,7 +25,7 @@ public:
|
|
|
| const GrGLInterface* gl() const { return fGL.get(); }
|
|
|
| - bool fenceSyncSupport() const { return SkToBool(fFenceSync); }
|
| + bool fenceSyncSupport() const { return fFenceSync != nullptr; }
|
|
|
| bool getMaxGpuFrameLag(int* maxFrameLag) const {
|
| if (!fFenceSync) {
|
|
|