crosshair uses nearest instead of linear sampling. Linear was making it disappear half the time, so..
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@566 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7acdaa8779
commit
e02bbec528
1 changed files with 2 additions and 0 deletions
|
@ -1266,6 +1266,8 @@ void GLDraw_Crosshair(void)
|
||||||
#undef Pix
|
#undef Pix
|
||||||
cachedcrosshair = crosshair.value;
|
cachedcrosshair = crosshair.value;
|
||||||
}
|
}
|
||||||
|
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||||
|
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||||
}
|
}
|
||||||
else if ((*crosshair.string>='a' && *crosshair.string<='z') || (*crosshair.string>='A' && *crosshair.string<='Z'))
|
else if ((*crosshair.string>='a' && *crosshair.string<='z') || (*crosshair.string>='A' && *crosshair.string<='Z'))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue