Henri Verbeet : wined3d: Add a state table entry for WINED3DRS_TWEENFACTOR.
Alexandre Julliard
julliard at winehq.org
Wed Mar 31 10:04:54 CDT 2010
Module: wine
Branch: master
Commit: a298f37a9ab8bb9db584eb8b5a04c526e16d01f1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a298f37a9ab8bb9db584eb8b5a04c526e16d01f1
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Mar 31 11:29:01 2010 +0200
wined3d: Add a state table entry for WINED3DRS_TWEENFACTOR.
---
dlls/wined3d/state.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index d3be2c5..f7e6f13 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -5413,6 +5413,8 @@ const struct StateEntryTemplate ffp_vertexstate_template[] = {
{ STATE_RENDER(WINED3DRS_POINTSIZE_MAX), { STATE_RENDER(WINED3DRS_POINTSIZE_MIN), state_psizemin_arb }, ARB_POINT_PARAMETERS },
{ STATE_RENDER(WINED3DRS_POINTSIZE_MAX), { STATE_RENDER(WINED3DRS_POINTSIZE_MIN), state_psizemin_ext }, EXT_POINT_PARAMETERS },
{ STATE_RENDER(WINED3DRS_POINTSIZE_MAX), { STATE_RENDER(WINED3DRS_POINTSIZE_MIN), state_psizemin_w }, WINED3D_GL_EXT_NONE },
+ { STATE_RENDER(WINED3DRS_TWEENFACTOR), { STATE_RENDER(WINED3DRS_VERTEXBLEND), state_vertexblend }, WINED3D_GL_EXT_NONE },
+
/* Samplers for NP2 texture matrix adjustions. They are not needed if GL_ARB_texture_non_power_of_two is supported,
* so register a NULL state handler in that case to get the vertex part of sampler() skipped(VTF is handled in the misc states.
* otherwise, register sampler_texmatrix, which takes care of updating the texture matrix
More information about the wine-cvs
mailing list