From: eihrul Date: Fri, 1 Apr 2011 21:05:36 +0000 (+0000) Subject: fix the 0.5-fix X-Git-Tag: xonotic-v0.5.0~327 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8cba8c8ba48c82f3aaa09cec8b445580d66263eb;p=xonotic%2Fdarkplaces.git fix the 0.5-fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11010 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=ace2325634d1d52f73f26272e7020b5df92c2034 --- diff --git a/dpsoftrast.c b/dpsoftrast.c index 4bed6ae1..29585470 100644 --- a/dpsoftrast.c +++ b/dpsoftrast.c @@ -2386,8 +2386,8 @@ void DPSOFTRAST_Draw_Span_Texture2DVarying(DPSOFTRAST_State_Thread *thread, cons tcimax[1] = texture->mipmap[mip][3]-1; tciwrapmask[0] = texture->mipmap[mip][2]-1; tciwrapmask[1] = texture->mipmap[mip][3]-1; - endtc[0] = (data[0] + slope[0]*startx) * zf[startx] * tcscale[0] - 0.5f; - endtc[1] = (data[1] + slope[1]*startx) * zf[startx] * tcscale[1] - 0.5f; + endtc[0] = (data[0] + slope[0]*startx) * zf[startx] * tcscale[0]; + endtc[1] = (data[1] + slope[1]*startx) * zf[startx] * tcscale[1]; if (filter) { endtc[0] -= 0.5f;