Added automatic mipmaps to DX11. Fixed rendering bugs