aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-05 16:25:46 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-05 16:25:46 +0000
commit8192095eeaa500551ec6f25809463d3017be2a31 (patch)
tree4f8bc9f7d7848d6727594b7bb9b01b508ab209b8 /src
parent280e99f1a61f2cf66a8ee9b9e6c517f3d2290de7 (diff)
Fix Mac build
git-svn-id: http://skia.googlecode.com/svn/trunk@2967 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/mac/GrGLCreateNativeInterface_mac.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/mac/GrGLCreateNativeInterface_mac.cpp b/src/gpu/mac/GrGLCreateNativeInterface_mac.cpp
index ae2d274f26..51a4111651 100644
--- a/src/gpu/mac/GrGLCreateNativeInterface_mac.cpp
+++ b/src/gpu/mac/GrGLCreateNativeInterface_mac.cpp
@@ -124,11 +124,11 @@ const GrGLInterface* GrGLCreateNativeInterface() {
#elif GL_EXT_texture_storage
interface->fTexStorage2D = glTexStorage2DEXT;
#else
- if (glVer >= GR_GL_VER(4,2) ||
- GrGLHasExtensionFromString("GL_ARB_texture_storage", extString)) {
- GR_GL_GET_PROC(TexStorage2D);
- } else if (GrGLHasExtensionFromString("GL_EXT_texture_storage", extString)) {
- GR_GL_GET_PROC_SUFFIX(TexStorage2D, EXT);
+ if (ver >= GR_GL_VER(4,2) ||
+ GrGLHasExtensionFromString("GL_ARB_texture_storage", extStr)) {
+ GET_PROC(TexStorage2D);
+ } else if (GrGLHasExtensionFromString("GL_EXT_texture_storage", extStr)) {
+ GET_PROC_SUFFIX(TexStorage2D, EXT);
}
#endif
interface->fTexSubImage2D = glTexSubImage2D;