2
0
Эх сурвалжийг харах

Reverted unused variable optimization due to iOS compile error.

Lasse Öörni 13 жил өмнө
parent
commit
e6410af3cd

+ 0 - 2
Engine/Graphics/OpenGL/OGLGraphics.cpp

@@ -164,10 +164,8 @@ Graphics::Graphics(Context* context_) :
     deferredSupport_(false),
     deferredSupport_(false),
     anisotropySupport_(false),
     anisotropySupport_(false),
     dxtTextureSupport_(false),
     dxtTextureSupport_(false),
-    #ifdef GL_ES_VERSION_2_0
     etcTextureSupport_(false),
     etcTextureSupport_(false),
     pvrtcTextureSupport_(false),
     pvrtcTextureSupport_(false),
-    #endif
     numPrimitives_(0),
     numPrimitives_(0),
     numBatches_(0),
     numBatches_(0),
     maxScratchBufferRequest_(0),
     maxScratchBufferRequest_(0),

+ 0 - 2
Engine/Graphics/OpenGL/OGLGraphics.h

@@ -418,12 +418,10 @@ private:
     bool anisotropySupport_;
     bool anisotropySupport_;
     /// DXT format support flag.
     /// DXT format support flag.
     bool dxtTextureSupport_;
     bool dxtTextureSupport_;
-    #ifdef GL_ES_VERSION_2_0
     /// ETC1 format support flag.
     /// ETC1 format support flag.
     bool etcTextureSupport_;
     bool etcTextureSupport_;
     /// PVRTC formats support flag.
     /// PVRTC formats support flag.
     bool pvrtcTextureSupport_;
     bool pvrtcTextureSupport_;
-    #endif
     /// Number of primitives this frame.
     /// Number of primitives this frame.
     unsigned numPrimitives_;
     unsigned numPrimitives_;
     /// Number of batches this frame.
     /// Number of batches this frame.