aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/gl/GLTestContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpu/gl/GLTestContext.h')
-rw-r--r--tools/gpu/gl/GLTestContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/gl/GLTestContext.h b/tools/gpu/gl/GLTestContext.h
index fb63ac3140..b5dd9acf8a 100644
--- a/tools/gpu/gl/GLTestContext.h
+++ b/tools/gpu/gl/GLTestContext.h
@@ -30,7 +30,7 @@ public:
const GrGLInterface *gl() const { return fGL.get(); }
/** Used for testing EGLImage integration. Take a GL_TEXTURE_2D and wraps it in an EGL Image */
- virtual GrEGLImage texture2DToEGLImage(GrGLuint /*texID*/) const { return 0; }
+ virtual GrEGLImage texture2DToEGLImage(GrGLuint /*texID*/) const { return nullptr; }
virtual void destroyEGLImage(GrEGLImage) const { }