all repos — fluxbox @ bf5da7f1b6e87f574774558700d066d9cff1f436

custom fork of the fluxbox windowmanager

Fix bug: actually invert a given Texture

Stupid typo.
Mathias Gumz akira at fluxbox dot org
commit

bf5da7f1b6e87f574774558700d066d9cff1f436

parent

4eeb8937ba97817a02d751f757e8eee6fc35312f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/FbTk/TextureRender.ccsrc/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); } }