aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/SkiaSDLExample.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/SkiaSDLExample.cpp b/example/SkiaSDLExample.cpp
index 3c4dccccb2..65254117fa 100644
--- a/example/SkiaSDLExample.cpp
+++ b/example/SkiaSDLExample.cpp
@@ -22,6 +22,8 @@
#include <GL/gl.h>
#elif defined(SK_BUILD_FOR_MAC)
#include <OpenGL/gl.h>
+#elif defined(SK_BUILD_FOR_IOS)
+#include <OpenGLES/ES2/gl.h>
#endif
/*