Browse Source

Reverted unused variable optimization due to iOS compile error.

Lasse Öörni 13 năm trước cách đây
mục cha
commit
e6410af3cd

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

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

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

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