diff options
author | 2011-04-04 17:13:52 +0000 | |
---|---|---|
committer | 2011-04-04 17:13:52 +0000 | |
commit | f987d1b2348258970cae675135b6dedda079de48 (patch) | |
tree | fa09c4a941878660d3a3f57877e0513c106afc0f /Makefile | |
parent | 65c82f52bea0db35b4422467abeee1e36b25ee05 (diff) |
Remove dependence on platform GL headers. Remove code that attempts to infer GL function pointers on various platforms. Instead add platform-specific implementations for Windows and Mac. (GLX coming)
Review URL: http://codereview.appspot.com/4354048/
git-svn-id: http://skia.googlecode.com/svn/trunk@1045 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -103,6 +103,8 @@ ifeq ($(SKIA_BUILD_FOR),mac) SRC_LIST += src/images/SkImageDecoder_libpng.cpp # support files SRC_LIST += src/images/SkScaledBitmapSampler.cpp + + SRC_LIST += gpu/src/mac/GrGLDefaultInterface_mac.cpp else LINKER_OPTS += -lpng -lfreetype -lGL DEFINES += -DSK_BUILD_FOR_UNIX -DSK_ENABLE_LIBPNG -DGR_LINUX_BUILD=1 @@ -124,6 +126,8 @@ else SRC_LIST += src/images/SkImageDecoder_libpng.cpp # support files SRC_LIST += src/images/SkScaledBitmapSampler.cpp + + SRC_LIST += gpu/src/GrGLDefaultInterface_none.cpp endif # For these files, and these files only, compile with -msse2. |