Fixed ilGetInteger(IL_NUM_LAYERS) - returned number of mipmaps before O_o
Fixed ilGetInteger(IL_NUM_LAYERS) - returned number of mipmaps before O_o


bcampbell/DevIL,Agadoul/DevIL,bcampbell/DevIL,DentonW/DevIL,Agadoul/DevIL,DentonW/DevIL,Agadoul/DevIL,DentonW/DevIL,DentonW/DevIL,DentonW/DevIL,bcampbell/DevIL,Agadoul/DevIL,Agadoul/DevIL,bcampbell/DevIL,bcampbell/DevIL,Agadoul/DevIL,bcampbell/DevIL,DentonW/DevIL