diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 5d182df5a9..c5fb394222 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,8 @@ +September 11, 2008 +- Antialiasing of lines is now controlled solely by the vid_hwaalines cvar, + ignoring what the driver reports, since ATI is apparently just as bad as + NVidia. + September 9, 2008 - Added a check for D3DLINECAPS_ANTIALIAS, but this is complicated by the fact that NVidia's don't report it, even though they support it. If there diff --git a/src/win32/fb_d3d9.cpp b/src/win32/fb_d3d9.cpp index 364dffe92e..e41506da5e 100644 --- a/src/win32/fb_d3d9.cpp +++ b/src/win32/fb_d3d9.cpp @@ -965,7 +965,7 @@ void D3DFB::Draw3DPart(bool copy3d) DrawLetterbox(); InScene = true; D3DDevice->BeginScene(); - D3DDevice->SetRenderState(D3DRS_ANTIALIASEDLINEENABLE, (DeviceCaps.LineCaps & D3DLINECAPS_ANTIALIAS) && vid_hwaalines); + D3DDevice->SetRenderState(D3DRS_ANTIALIASEDLINEENABLE, vid_hwaalines); assert(OldRenderTarget == NULL); if (TempRenderTexture != NULL && ((Windowed && GammaFixerShader && TempRenderTexture != FinalWipeScreen) || GatheringWipeScreen || PixelDoubling))