Fix gf conversion (TODO)

Adding this now, will do it tomorrow
This commit is contained in:
Hannes Mann 2016-07-02 04:38:16 +02:00
parent 6f9e0e508e
commit 0e548c8d52

View file

@ -102,7 +102,8 @@ namespace openrayman
for(std::size_t n = 0; n < count; n++)
{
// either we are wrong or some files are formatted weird?
// this seems to turn out ok
// -this seems to turn out ok-
// TODO: this does not seem to turn out ok, there are red stripes on some textures
if(at + n < channel.size())
channel[at + n] = value;
}