Fix warning

This commit is contained in:
Magnus Norddahl 2016-06-10 17:08:45 +02:00
parent 9420826094
commit ffcfe0b54f

View file

@ -181,8 +181,6 @@ const uint32_t *FTexture::GetColumnBgra(unsigned int column, const Span **spans_
const uint32_t *pixels = GetPixelsBgra();
column %= Width;
if (column < 0)
column += Width;
if (spans_out != nullptr)
GetColumn(column, spans_out);