mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
init commit
This commit is contained in:
parent
ae108d0411
commit
e325902bac
6 changed files with 11 additions and 5 deletions
|
|
@ -220,6 +220,7 @@ void GFXGLTextureObject::initSamplerState(const GFXSamplerStateDesc &ssd)
|
|||
if(static_cast< GFXGLDevice* >( GFX )->supportsAnisotropic() )
|
||||
glTexParameterf(mBinding, GL_TEXTURE_MAX_ANISOTROPY_EXT, ssd.maxAnisotropy);
|
||||
|
||||
glTexParameterfv(mBinding, GL_TEXTURE_BORDER_COLOR, ssd.borderColor);
|
||||
mNeedInitSamplerState = false;
|
||||
mSampler = ssd;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue