Code:
in RealSpace2.cpp
function : RResetDevice(const RMODEPARAMS *params)
//before the "HRESULT hr=g_pd3dDevice->Reset(&g_d3dpp);"
//could be D3DMULTISAMPLE_4_SAMPLES, D3DMULTISAMPLE_8_SAMPLES
g_d3dpp.MultiSampleType = D3DMULTISAMPLE_2_SAMPLES;
//after HRESULT hr=g_pd3dDevice->Reset(&g_d3dpp);
RGetDevice()->SetRenderState( D3DRS_MULTISAMPLEANTIALIAS , TRUE );
function : InitDevice()
RGetDevice()->SetRenderState( D3DRS_MULTISAMPLEANTIALIAS , TRUE );
function : RInitDisplay(HWND hWnd, const RMODEPARAMS *params)
change: g_d3dpp.MultiSampleType = g_MultiSample;
to: g_d3dpp.MultiSampleType = D3DMULTISAMPLE_2_SAMPLES;