aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gpu/gl/SkNativeGLContext.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gpu/gl/SkNativeGLContext.h b/include/gpu/gl/SkNativeGLContext.h
index 36461ba7b2..52118da86e 100644
--- a/include/gpu/gl/SkNativeGLContext.h
+++ b/include/gpu/gl/SkNativeGLContext.h
@@ -12,7 +12,6 @@
#if defined(SK_BUILD_FOR_MAC)
#include <AGL/agl.h>
-
#elif defined(SK_BUILD_FOR_ANDROID)
#include <GLES2/gl2.h>
#include <EGL/egl.h>
@@ -51,6 +50,8 @@ public:
EGLContext fOldEGLContext;
EGLDisplay fOldDisplay;
EGLSurface fOldSurface;
+ #elif defined(SK_BUILD_FOR_IOS)
+ void* fEAGLContext;
#endif
};
@@ -75,6 +76,8 @@ private:
EGLContext fContext;
EGLDisplay fDisplay;
EGLSurface fSurface;
+#elif defined(SK_BUILD_FOR_IOS)
+ void* fEAGLContext;
#endif
};