Adds the last texture filter mode (trilinear min filter with nearest magnification)
This commit is contained in:
parent
669238db66
commit
41e959e102
3 changed files with 4 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ CCMD(gl_flush)
|
|||
|
||||
CUSTOM_CVAR(Int, gl_texture_filter, 4, CVAR_ARCHIVE|CVAR_GLOBALCONFIG|CVAR_NOINITCALL)
|
||||
{
|
||||
if (self < 0 || self > 5) self=4;
|
||||
if (self < 0 || self > 6) self=4;
|
||||
if (GLRenderer != NULL && GLRenderer->mSamplerManager != NULL) GLRenderer->mSamplerManager->SetTextureFilterMode();
|
||||
}
|
||||
|
||||
|
|
@ -105,6 +105,7 @@ TexFilter_s TexFilter[]={
|
|||
{GL_LINEAR_MIPMAP_NEAREST, GL_LINEAR, true},
|
||||
{GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR, true},
|
||||
{GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST, true},
|
||||
{GL_LINEAR_MIPMAP_LINEAR, GL_NEAREST, true},
|
||||
};
|
||||
|
||||
int TexFormat[]={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue