From f08e2949dc64227088c2959bda9769714ede61c0 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 12 Sep 2008 00:04:15 +0000 Subject: [PATCH] - 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. SVN r1212 (trunk) --- docs/rh-log.txt | 5 +++++ src/win32/fb_d3d9.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 5d182df5a..c5fb39422 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 364dffe92..e41506da5 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))