commit | f7fa806d84abf1cba47bfa8679e875a75d76599e | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Feb 14 14:09:57 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Feb 14 14:09:57 2012 +0000 |
tree | 33e3926acc36d740deac496bbe674cf02dfd6c53 | |
parent | b1e218e782261304440199642f1b98e7ba96b525 [diff] [blame] |
Make GLCaps be standalone and be a member of GrGLContextInfo Review URL: http://codereview.appspot.com/5654084/ git-svn-id: http://skia.googlecode.com/svn/trunk@3183 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGpuGLShaders.cpp b/src/gpu/gl/GrGpuGLShaders.cpp index 7fe7d4b..4093a0d 100644 --- a/src/gpu/gl/GrGpuGLShaders.cpp +++ b/src/gpu/gl/GrGpuGLShaders.cpp
@@ -1091,7 +1091,7 @@ } stage.fInConfigFlags = 0; - if (!this->glCaps().fTextureSwizzleSupport) { + if (!this->glCaps().textureSwizzleSupport()) { if (GrPixelConfigIsAlphaOnly(texture->config())) { // if we don't have texture swizzle support then // the shader must do an alpha smear after reading