From: Gareth H. <ga...@va...> - 2001-03-07 03:19:40
|
Brian Paul wrote: > > > I'm not disagreeing re: the math, I'm concerned about shifting GLubytes > > up by 8. Maybe it does automatic conversion to GLushort and thus you > > won't overflow. On testing this, it appears that this is the case. Oh > > well :-) > > gcc may be doing what I intend but it probably would be safer to put > a cast in there for the sake of other compilers. Yeah, it never hurts to be explicit about these things. > Good catch. Thanks :-) -- Gareth |