diff options
Diffstat (limited to 'src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp')
-rw-r--r-- | src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp index 024a631acc..ccbc50f5ee 100644 --- a/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp +++ b/src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp @@ -19,7 +19,7 @@ public: } ~GLLoader() { - if (NULL != fLibrary) { + if (fLibrary) { dlclose(fLibrary); } } @@ -45,7 +45,7 @@ private: }; static GrGLFuncPtr ios_get_gl_proc(void* ctx, const char name[]) { - SkASSERT(NULL != ctx); + SkASSERT(ctx); const GLProcGetter* getter = (const GLProcGetter*) ctx; return getter->getProc(name); } |