mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-12 17:00:51 +00:00
Merge pull request #709 from rextimmy/gl_anisotropy_fix
fix opengl device not returning the correct anisotropic value
This commit is contained in:
commit
8be84f872d
2 changed files with 1 additions and 4 deletions
|
|
@ -247,7 +247,6 @@ GFXGLDevice::GFXGLDevice(U32 adapterIndex) :
|
|||
mActiveTextureType[i] = GL_ZERO;
|
||||
|
||||
mNumVertexStream = 2;
|
||||
mSupportsAnisotropic = false;
|
||||
|
||||
for(int i = 0; i < GS_COUNT; ++i)
|
||||
mModelViewProjSC[i] = NULL;
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ public:
|
|||
virtual void setupGenericShaders( GenericShaderType type = GSColor );
|
||||
|
||||
///
|
||||
bool supportsAnisotropic() const { return mSupportsAnisotropic; }
|
||||
bool supportsAnisotropic() const { return mCapabilities.anisotropicFiltering; }
|
||||
|
||||
GFXGLStateCache* getOpenglCache() { return mOpenglStateCache; }
|
||||
|
||||
|
|
@ -235,8 +235,6 @@ private:
|
|||
void* mPixelFormat;
|
||||
|
||||
F32 mPixelShaderVersion;
|
||||
|
||||
bool mSupportsAnisotropic;
|
||||
|
||||
U32 mNumVertexStream;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue