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.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpu/gl/mesa/SkMesaGLContext.cpp b/src/gpu/gl/mesa/SkMesaGLContext.cpp
index c4f84cf8d2..b7d220cfb9 100644
--- a/src/gpu/gl/mesa/SkMesaGLContext.cpp
+++ b/src/gpu/gl/mesa/SkMesaGLContext.cpp
@@ -9,6 +9,7 @@
#include <GL/osmesa.h>
#include "gl/SkMesaGLContext.h"
+#include "gl/GrGLDefines.h"
SkMesaGLContext::AutoContextRestore::AutoContextRestore() {
fOldContext = (Context)OSMesaGetCurrentContext();