diff options
author | 2009-06-02 19:46:20 +0000 | |
---|---|---|
committer | 2009-06-02 19:46:20 +0000 | |
commit | 4a7fd2bd275446ecad0e70aff2b9fd31d2bc8e95 (patch) | |
tree | 42270136361608ccb6030fff2c71bab4fa416f82 /src/gl/SkGLDevice.cpp | |
parent | 9e0c2fcdafa8f2cfe2113e6335eff4efe3e28c86 (diff) |
initialize fFlags in gradients
fix trailing WS in SkGLDevice
git-svn-id: http://skia.googlecode.com/svn/trunk@198 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gl/SkGLDevice.cpp')
-rw-r--r-- | src/gl/SkGLDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gl/SkGLDevice.cpp b/src/gl/SkGLDevice.cpp index 41feb37995..148f9e92f4 100644 --- a/src/gl/SkGLDevice.cpp +++ b/src/gl/SkGLDevice.cpp @@ -346,7 +346,7 @@ void SkGLDevice::drawRect(const SkDraw& draw, const SkRect& rect, vertex->setRectFan(rect); } - const SkGLVertex* texs = shader.useTex() ? vertex : NULL; + const SkGLVertex* texs = shader.useTex() ? vertex : NULL; SkGL::DrawVertices(vertCount, vertMode, vertex, texs, NULL, NULL, this->updateMatrixClip()); } |