Fix bug: actually invert a given Texture Stupid typo.
Mathias Gumz akira at fluxbox dot org
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/FbTk/TextureRender.cc
→
src/FbTk/TextureRender.cc
@@ -127,7 +127,7 @@ FbTk::RGBA* l = rgba;
FbTk::RGBA* r = rgba + (w * h); for (--r; l < r; ++l, --r) { // swapping 32bits (RGBA) at ones. - std::swap(*((unsigned int*)r), *(unsigned int*)r); + std::swap(*((unsigned int*)l), *(unsigned int*)r); } }