rasterize: hack to avoid obvious regression of edge mark quality compared to in 0.9.5 (the transparency was not there to compensate for the colors being too dark). should revisit this when working out how antialiasing really works on the ds.

This commit is contained in:
nitsuja 2010-05-09 18:51:23 +00:00
parent 9912b1b04d
commit d8df35d418
1 changed files with 1 additions and 1 deletions

View File

@ -1246,7 +1246,7 @@ void SoftRasterizerEngine::framebufferProcess()
for(int i=0;i<8;i++)
{
u16 col = T1ReadWord(MMU.MMU_MEM[ARMCPU_ARM9][0x40], 0x330+i*2);
edgeMarkColors[i].color = RGB15TO5555(col,0x1F);
edgeMarkColors[i].color = RGB15TO5555(col,gfx3d.state.enableAntialiasing ? 0x0F : 0x1F);
edgeMarkColors[i].r = GFX3D_5TO6(edgeMarkColors[i].r);
edgeMarkColors[i].g = GFX3D_5TO6(edgeMarkColors[i].g);
edgeMarkColors[i].b = GFX3D_5TO6(edgeMarkColors[i].b);