From f987d1b2348258970cae675135b6dedda079de48 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Mon, 4 Apr 2011 17:13:52 +0000 Subject: 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 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index bd46b02843..e51aedd69c 100644 --- a/Makefile +++ b/Makefile @@ -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. -- cgit v1.2.3