aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/mesa/SkMesaGLContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/mesa/SkMesaGLContext.cpp')
-rw-r--r--src/gpu/gl/mesa/SkMesaGLContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/mesa/SkMesaGLContext.cpp b/src/gpu/gl/mesa/SkMesaGLContext.cpp
index cac021c170..6c6e4228f3 100644
--- a/src/gpu/gl/mesa/SkMesaGLContext.cpp
+++ b/src/gpu/gl/mesa/SkMesaGLContext.cpp
@@ -30,7 +30,7 @@ SkMesaGLContext::AutoContextRestore::~AutoContextRestore() {
///////////////////////////////////////////////////////////////////////////////
SkMesaGLContext::SkMesaGLContext()
- : fContext(NULL)
+ : fContext(static_cast<Context>(NULL))
, fImage(NULL) {
GR_STATIC_ASSERT(sizeof(Context) == sizeof(OSMesaContext));
}