From a298f37a9ab8bb9db584eb8b5a04c526e16d01f1 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 31 Mar 2010 11:29:01 +0200 Subject: [PATCH] wined3d: Add a state table entry for WINED3DRS_TWEENFACTOR. --- dlls/wined3d/state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index d3be2c54994..f7e6f13264f 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