SoMode4PolygonRasterizer.c: lines 166, 167
Function: SoMode4PolygonRasterizerSetTexture
textureWidth is used to calculate shifts twice, obviously the second
one in the loop test should be textureHeight:
s_TextureUShift = 0; while ( textureWidth >>= 1 ) +
+s_TextureUShift; --s_TextureUShift;
s_TextureVShift = 0; while ( textureWidth >>= 1 ) +
+s_TextureVShift; --s_TextureVShift;