Module: wine Branch: master Commit: cad055ae16e78bcf53a6c91f5bac97c12bfcd063 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cad055ae16e78bcf53a6c91f5b...
Author: Stefan Dösinger stefan@codeweavers.com Date: Wed Jul 2 15:50:00 2008 -0500
wined3d: Move WINED3DRS_ANTIALIAS to the misc states.
---
dlls/wined3d/state.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 1f47e28..5bd8c62 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -3824,7 +3824,7 @@ const struct StateEntry FFPStateTable[] = /* State name representative, apply function */ { /* 0, Undefined */ 0, state_undefined }, { /* 1, WINED3DRS_TEXTUREHANDLE */ 0 /* Handled in ddraw */, state_undefined }, - { /* 2, WINED3DRS_ANTIALIAS */ STATE_RENDER(WINED3DRS_ANTIALIAS), state_antialias }, + { /* 2, WINED3DRS_ANTIALIAS */ STATE_RENDER(WINED3DRS_ANTIALIAS), NULL }, { /* 3, WINED3DRS_TEXTUREADDRESS */ 0 /* Handled in ddraw */, state_undefined }, { /* 4, WINED3DRS_TEXTUREPERSPECTIVE */ STATE_RENDER(WINED3DRS_TEXTUREPERSPECTIVE), state_perspective }, { /* 5, WINED3DRS_WRAPU */ STATE_RENDER(WINED3DRS_WRAPU), state_wrapu }, @@ -4916,6 +4916,7 @@ const struct StateEntryTemplate misc_state_template[] = {
{ STATE_VIEWPORT, { STATE_VIEWPORT, viewport_miscpart }}, { STATE_INDEXBUFFER, { STATE_INDEXBUFFER, indexbuffer }}, + { STATE_RENDER(WINED3DRS_ANTIALIAS), { STATE_RENDER(WINED3DRS_ANTIALIAS), state_antialias }}, {0 /* Terminate */, { 0, 0 }}, };