wined3d: Use a simpler way to calculate the number of texture levels.
commit7d29aecd6fa0fb3c541f318ad50a442f47e0c732
authorHenri Verbeet <hverbeet@codeweavers.com>
Fri, 12 Dec 2008 08:33:52 +0000 (12 09:33 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 12 Dec 2008 10:40:39 +0000 (12 11:40 +0100)
treefd5eab8675a1c810c777d237e4a1f74d29c0485d
parent70ed814b95f7719d52fa5b18a375d566a185a9ec
wined3d: Use a simpler way to calculate the number of texture levels.

It's probably slightly faster too.
dlls/wined3d/device.c
dlls/wined3d/utils.c
dlls/wined3d/wined3d_private.h