commit | 2d0baded0f45dfde9dc8c25313ff14ea18c0c915 | [log] [tgz] |
---|---|---|
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Oct 26 19:01:17 2012 +0000 |
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Oct 26 19:01:17 2012 +0000 |
tree | 0da627fb3346d8a29093386ea8cdd05363de017e | |
parent | 28a15fb8d603847949a61657ef5cb73ed9915021 [diff] [blame] |
Make the orientation of a texture accessible from and known by GrSurface. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6801044 git-svn-id: http://skia.googlecode.com/svn/branches/gpu_dev@6148 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLProgram.cpp b/src/gpu/gl/GrGLProgram.cpp index 324fdc1..35867c2 100644 --- a/src/gpu/gl/GrGLProgram.cpp +++ b/src/gpu/gl/GrGLProgram.cpp
@@ -83,7 +83,7 @@ fEffects[s] = NULL; fTextureMatrices[s] = GrMatrix::InvalidMatrix(); // this is arbitrary, just initialize to something - fTextureOrientation[s] = GrGLTexture::kBottomUp_Orientation; + fTextureOrigin[s] = GrSurface::kBottomLeft_Origin; } this->genProgram(effects);