wined3d: Use the texture level count to calculate sub-resource indices for OpenGL...
commit27845d2fbdcf54adc6362880e0e8fe316da34ac8
authorHenri Verbeet <hverbeet@codeweavers.com>
Mon, 7 Jun 2021 14:55:11 +0000 (7 16:55 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Jun 2021 19:24:32 +0000 (7 21:24 +0200)
tree97e0305f79f5d010a09a2ec74a3fe7b1485fcd4e
parent81fc2e6ab63def4af022db161455c3f16c3b9e3a
wined3d: Use the texture level count to calculate sub-resource indices for OpenGL mip-map generation.

Instead of the view's level count, which may be different.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/view.c