diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-28 20:33:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-28 23:13:01 +0300 |
commit | 7319759e4464994bbcbfbbe995759eb4a214e5e6 (patch) | |
tree | c6defd441ae0ea3d9d6e871de75e7387b49ae93a /src/guichan/sdl/sdlgraphics.cpp | |
parent | c854f8a7972291060970f3c4bb88178bf77df4ea (diff) | |
download | plus-7319759e4464994bbcbfbbe995759eb4a214e5e6.tar.gz plus-7319759e4464994bbcbfbbe995759eb4a214e5e6.tar.bz2 plus-7319759e4464994bbcbfbbe995759eb4a214e5e6.tar.xz plus-7319759e4464994bbcbfbbe995759eb4a214e5e6.zip |
Fix in internal guichan drawing horisonal lines in some systems.
Diffstat (limited to 'src/guichan/sdl/sdlgraphics.cpp')
-rw-r--r-- | src/guichan/sdl/sdlgraphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/sdl/sdlgraphics.cpp b/src/guichan/sdl/sdlgraphics.cpp index 482642e30..eae2bb035 100644 --- a/src/guichan/sdl/sdlgraphics.cpp +++ b/src/guichan/sdl/sdlgraphics.cpp @@ -227,7 +227,7 @@ namespace gcn { uint16_t* q = reinterpret_cast<uint16_t*>(p); for (; x1 <= x2; ++x1) - *(q++) = static_cast<uint8_t>(pixel); + *(q++) = pixel; break; } |