Riccardo Bortolato : wined3d: Pass wined3d_texture and sub_resource idx to device_volume_created callback.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 7 10:00:48 CDT 2015


Module: wine
Branch: master
Commit: 9621737c8e7ce3c67f998ef096ea321f9ea2f04a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9621737c8e7ce3c67f998ef096ea321f9ea2f04a

Author: Riccardo Bortolato <rikyz619 at gmail.com>
Date:   Tue Oct  6 10:36:49 2015 +0200

wined3d: Pass wined3d_texture and sub_resource idx to device_volume_created callback.

Store wined3d_texture and sub_resource in d3d8_volume.
Updated the d3d8_volume_LockBox to make use of wined3d_texture_map.
Also updated d3d9, d3d11, ddraw callbacks accordingly.

Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>

---

 dlls/d3d11/device.c      |  6 +++---
 dlls/d3d8/d3d8_private.h |  6 ++++--
 dlls/d3d8/device.c       | 10 +++++-----
 dlls/d3d8/volume.c       | 11 +++++++----
 dlls/d3d9/d3d9_private.h |  4 ++--
 dlls/d3d9/device.c       |  8 ++++----
 dlls/d3d9/volume.c       |  6 +++---
 dlls/ddraw/ddraw.c       |  6 +++---
 dlls/wined3d/volume.c    |  2 +-
 include/wine/wined3d.h   |  3 ++-
 10 files changed, 34 insertions(+), 28 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=9621737c8e7ce3c67f998ef096ea321f9ea2f04a



More information about the wine-cvs mailing list