Module: wine
Branch: master
Commit: 2b926db50d04d4cfb0c8c7cfed0536a24074bf7e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b926db50d04d4cfb0c8c7cfe…
Author: Henri Verbeet <hverbeet(a)codeweavers.com>
Date: Tue Dec 30 14:56:49 2008 +0100
wined3d: Make use_vs() and use_ps() work on a stateblock instead of a device.
Most callers work on a stateblock rather than a device, and the main fields
we check (vertexShader and pixelShader) are part of the stateblock as well.
---
dlls/wined3d/arb_program_shader.c | 14 ++++++-----
dlls/wined3d/ati_fragment_shader.c | 2 +-
dlls/wined3d/device.c | 4 +-
dlls/wined3d/drawprim.c | 8 ++++--
dlls/wined3d/glsl_shader.c | 3 +-
dlls/wined3d/nvidia_texture_shader.c | 2 +-
dlls/wined3d/pixelshader.c | 9 +++++--
dlls/wined3d/state.c | 41 +++++++++++++++++----------------
dlls/wined3d/vertexbuffer.c | 3 +-
dlls/wined3d/wined3d_private.h | 16 +++++++-----
10 files changed, 57 insertions(+), 45 deletions(-)
Diff: http://source.winehq.org/git/wine.git/?a=commitdiff;h=2b926db50d04d4cfb0c8c…