Quote:Original post by thorpe
Thing is, everything worked properly before when I had my own bmp read code. When I call glu functions, the textures get mirrored and I want to be able to use glu (and have proper coordinates). I suspect you have to call some DevIL function but I can't find any good example code.
Out of interest, did you remember that BMP format stores the data from bottom to top and therefore invert the order of the rows in your loader ?
If you didn't then you must have adjusted the texture coordinates to fix it which would make all the DevIL loaded images appear to be flipped top to bottom.