Browse Source

gobj: Fix compiler warnings in TexturePool

rdb 2 years ago
parent
commit
17242e9a0a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      panda/src/gobj/texturePool.h

+ 2 - 2
panda/src/gobj/texturePool.h

@@ -210,11 +210,11 @@ private:
     Filename _alpha_fullpath;
     Filename _alpha_fullpath;
     int _primary_file_num_channels = 0;
     int _primary_file_num_channels = 0;
     int _alpha_file_channel = 0;
     int _alpha_file_channel = 0;
+    Texture::TextureType _texture_type = Texture::TT_2d_texture;
     Texture::Format _texture_format = (Texture::Format)0;
     Texture::Format _texture_format = (Texture::Format)0;
-    Texture::QualityLevel _texture_quality = Texture::QL_default;
     Texture::CompressionMode _texture_compress = Texture::CM_default;
     Texture::CompressionMode _texture_compress = Texture::CM_default;
+    Texture::QualityLevel _texture_quality = Texture::QL_default;
     SamplerState _texture_sampler;
     SamplerState _texture_sampler;
-    Texture::TextureType _texture_type = Texture::TT_2d_texture;
     bool _force_srgb = false;
     bool _force_srgb = false;
 
 
     INLINE bool operator < (const LookupKey &other) const;
     INLINE bool operator < (const LookupKey &other) const;