Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1055)

Unified Diff: src/views/sdl/SkOSWindow_SDL.cpp

Issue 1428633003: Wire up SDL on mac (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweaks Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/views.gyp ('k') | third_party/libsdl/mac/README » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/views/sdl/SkOSWindow_SDL.cpp
diff --git a/src/views/sdl/SkOSWindow_SDL.cpp b/src/views/sdl/SkOSWindow_SDL.cpp
index 80802a1dd09f8d3f6084397f12f19fbfd41e28b4..bc07745a26555cb5608593acd5ad26584d05c7e2 100644
--- a/src/views/sdl/SkOSWindow_SDL.cpp
+++ b/src/views/sdl/SkOSWindow_SDL.cpp
@@ -9,8 +9,10 @@
#if defined(SK_BUILD_FOR_ANDROID)
#include <GLES/gl.h>
-#else
+#elif defined(SK_BUILD_FOR_LINUX)
#include <GL/gl.h>
+#elif defined(SK_BUILD_FOR_MAC)
+#include <gl.h>
#endif
const int SCREEN_WIDTH = 640;
« no previous file with comments | « gyp/views.gyp ('k') | third_party/libsdl/mac/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698