David Adam : ddraw: Fix the "dwMipMapCount" field of texture sub-levels.

Alexandre Julliard julliard at winehq.org
Wed Jan 23 17:11:34 CST 2019


Module: wine
Branch: master
Commit: f5d7d9cccc941024f1532a9ac23427d07810f337
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f5d7d9cccc941024f1532a9ac23427d07810f337

Author: David Adam <david.adam.cnrs at gmail.com>
Date:   Wed Jan 23 21:36:42 2019 +0330

ddraw: Fix the "dwMipMapCount" field of texture sub-levels.

Instead of the total count, it indicates the count starting from the current
level.

Signed-off-by: David Adam <david.adam.cnrs at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ddraw/surface.c      |  2 ++
 dlls/ddraw/tests/ddraw1.c | 16 +++++++---------
 dlls/ddraw/tests/ddraw2.c | 16 +++++++---------
 dlls/ddraw/tests/ddraw4.c | 16 +++++++---------
 dlls/ddraw/tests/ddraw7.c | 16 +++++++---------
 5 files changed, 30 insertions(+), 36 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=f5d7d9cccc941024f1532a9ac23427d07810f337



More information about the wine-cvs mailing list