aboutsummaryrefslogtreecommitdiffhomepage
path: root/example
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-08-30 14:02:50 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-30 18:56:46 +0000
commitecfed2beaf9ab669b3831fafc1878ce22a10c584 (patch)
tree1a7d4aa3c5301b2cee35b980b8f85b91d8dc0ed9 /example
parent94fef5923941d60650155e95d9673390d745ba92 (diff)
Add iOS support for SkiaSDLExample.
Change-Id: Ib8f4d6c41356cf0fe2e14b7bff7713d107eaa01f Reviewed-on: https://skia-review.googlesource.com/40687 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
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
/*