From 17242e9a0ab6760a686cc0820e3bde7eafd905cb Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 20 Feb 2023 20:54:16 +0100 Subject: [PATCH] gobj: Fix compiler warnings in TexturePool --- panda/src/gobj/texturePool.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panda/src/gobj/texturePool.h b/panda/src/gobj/texturePool.h index 94261fb323..dee0292184 100644 --- a/panda/src/gobj/texturePool.h +++ b/panda/src/gobj/texturePool.h @@ -210,11 +210,11 @@ private: Filename _alpha_fullpath; int _primary_file_num_channels = 0; int _alpha_file_channel = 0; - Texture::Format _texture_format = (Texture::Format)0; - Texture::QualityLevel _texture_quality = Texture::QL_default; - Texture::CompressionMode _texture_compress = Texture::CM_default; - SamplerState _texture_sampler; Texture::TextureType _texture_type = Texture::TT_2d_texture; + Texture::Format _texture_format = (Texture::Format)0; + Texture::CompressionMode _texture_compress = Texture::CM_default; + Texture::QualityLevel _texture_quality = Texture::QL_default; + SamplerState _texture_sampler; bool _force_srgb = false; INLINE bool operator < (const LookupKey &other) const;