- 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)
This commit is contained in:
Randy Heit 2008-09-12 00:04:15 +00:00
parent e18111ce5f
commit f08e2949dc
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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))