mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 22:10:36 +00:00
fix opengl device not returning the correct anisotropic value
This commit is contained in:
parent
c7bf58c0a7
commit
e1398895b3
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