diff options
author | Trond Kjernåsen <trond@trolltech.com> | 2009-09-23 08:51:27 (GMT) |
---|---|---|
committer | Trond Kjernåsen <trond@trolltech.com> | 2009-09-23 08:51:27 (GMT) |
commit | d05b4b85ebdf520895faa1e360aa673b739866a2 (patch) | |
tree | 2ff078bec0610110cfc18dc9a4d280904367fe81 /src/opengl | |
parent | e73d4d577410ce0724c818cd0d4a28b7ff7350bb (diff) | |
download | Qt-d05b4b85ebdf520895faa1e360aa673b739866a2.zip Qt-d05b4b85ebdf520895faa1e360aa673b739866a2.tar.gz Qt-d05b4b85ebdf520895faa1e360aa673b739866a2.tar.bz2 |
Added a comment to clarify the purpose of a piece of code.
Reviewed-by: Trust Me
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp index 25f4184..9db1de8 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp @@ -297,7 +297,7 @@ void QGLTextureGlyphCache::fillTexture(const Coord &c, glyph_t glyph) for (int y = 0; y < maskHeight; ++y) { uchar *src = (uchar *) mask.scanLine(y); for (int x = 0; x < maskWidth; ++x) - src[x] = -src[x]; + src[x] = -src[x]; // convert 0 and 1 into 0 and 255 } } |