[PATCH] WineD3D: Even more cruft=0A=
Stefan Doesinger
stefan at codeweavers.com
Thu Aug 21 13:35:39 CDT 2008
=0A=
Fog coordinates are part of the specular color. The separate fog=0A=
attribute is for shaders only=0A=
---=0A=
dlls/wined3d/state.c | 22 ----------------------=0A=
1 files changed, 0 insertions(+), 22 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c=0A=
index 22b0e7b..c53f398 100644=0A=
--- a/dlls/wined3d/state.c=0A=
+++ b/dlls/wined3d/state.c=0A=
@@ -4185,28 +4185,6 @@ static void loadVertexData(IWineD3DStateBlockImpl =
*stateblock, WineDirect3DVerte=0A=
}=0A=
}=0A=
=0A=
-#if 0 /* FOG ----------------------------------------------*/=0A=
- if (sd->u.s.fog.lpData || sd->u.s.fog.VBO) {=0A=
- /* TODO: fog*/=0A=
- if (GL_SUPPORT(EXT_FOG_COORD) {=0A=
- glEnableClientState(GL_FOG_COORDINATE_EXT);=0A=
- (GL_EXTCALL)(FogCoordPointerEXT)(=0A=
- WINED3D_ATR_GLTYPE(sd->u.s.fog.dwType),=0A=
- sd->u.s.fog.dwStride,=0A=
- sd->u.s.fog.lpData + stateblock->loadBaseVertexIndex * =
sd->u.s.fog.dwStride);=0A=
- } else {=0A=
- /* don't bother falling back to 'slow' as we don't support =
software FOG yet. */=0A=
- /* FIXME: fixme once */=0A=
- TRACE("Hardware support for FOG is not avaiable, FOG =
disabled.\n");=0A=
- }=0A=
- } else {=0A=
- if (GL_SUPPRT(EXT_FOR_COORD) {=0A=
- /* make sure fog is disabled */=0A=
- glDisableClientState(GL_FOG_COORDINATE_EXT);=0A=
- }=0A=
- }=0A=
-#endif=0A=
-=0A=
/* Point Size ----------------------------------------------*/=0A=
if (sd->u.s.pSize.lpData || sd->u.s.pSize.VBO) {=0A=
=0A=
-- =0A=
1.5.6.4=0A=
=0A=
------=_NextPart_000_002B_01C90844.8CE201F0--
More information about the wine-patches
mailing list