Set mipmap levels correctly (even with ATI's buggy drivers).

2 files changed