Skip to content

Commit

Permalink
fix(Texture): fix phoenix format aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Nov 2, 2023
1 parent a70e747 commit bba5450
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions include/phoenix/texture.hh
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
#include "zenkit/Texture.hh"

namespace phoenix {
constexpr zenkit::TextureFormat const tex_B8G8R8A8 ZKREM("use zenkit::TextureFormat") = zenkit::tex_B8G8R8A8;
constexpr zenkit::TextureFormat const tex_R8G8B8A8 ZKREM("use zenkit::TextureFormat") = zenkit::tex_R8G8B8A8;
constexpr zenkit::TextureFormat const tex_A8B8G8R8 ZKREM("use zenkit::TextureFormat") = zenkit::tex_A8B8G8R8;
constexpr zenkit::TextureFormat const tex_A8R8G8B8 ZKREM("use zenkit::TextureFormat") = zenkit::tex_A8R8G8B8;
constexpr zenkit::TextureFormat const tex_B8G8R8 ZKREM("use zenkit::TextureFormat") = zenkit::tex_B8G8R8;
constexpr zenkit::TextureFormat const tex_R8G8B8 ZKREM("use zenkit::TextureFormat") = zenkit::tex_R8G8B8;
constexpr zenkit::TextureFormat const tex_A4R4G4B4 ZKREM("use zenkit::TextureFormat") = zenkit::tex_A4R4G4B4;
constexpr zenkit::TextureFormat const tex_A1R5G5B5 ZKREM("use zenkit::TextureFormat") = zenkit::tex_A1R5G5B5;
constexpr zenkit::TextureFormat const tex_R5G6B5 ZKREM("use zenkit::TextureFormat") = zenkit::tex_R5G6B5;
constexpr zenkit::TextureFormat const tex_p8 ZKREM("use zenkit::TextureFormat") = zenkit::tex_p8;
constexpr zenkit::TextureFormat const tex_dxt1 ZKREM("use zenkit::TextureFormat") = zenkit::tex_dxt1;
constexpr zenkit::TextureFormat const tex_dxt2 ZKREM("use zenkit::TextureFormat") = zenkit::tex_dxt2;
constexpr zenkit::TextureFormat const tex_dxt3 ZKREM("use zenkit::TextureFormat") = zenkit::tex_dxt3;
constexpr zenkit::TextureFormat const tex_dxt4 ZKREM("use zenkit::TextureFormat") = zenkit::tex_dxt4;
constexpr zenkit::TextureFormat const tex_dxt5 ZKREM("use zenkit::TextureFormat") = zenkit::tex_dxt5;
constexpr zenkit::TextureFormat tex_B8G8R8A8 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::B8G8R8A8;
constexpr zenkit::TextureFormat tex_R8G8B8A8 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::R8G8B8A8;
constexpr zenkit::TextureFormat tex_A8B8G8R8 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::A8B8G8R8;
constexpr zenkit::TextureFormat tex_A8R8G8B8 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::A8R8G8B8;
constexpr zenkit::TextureFormat tex_B8G8R8 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::B8G8R8;
constexpr zenkit::TextureFormat tex_R8G8B8 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::R8G8B8;
constexpr zenkit::TextureFormat tex_A4R4G4B4 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::A4R4G4B4;
constexpr zenkit::TextureFormat tex_A1R5G5B5 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::A1R5G5B5;
constexpr zenkit::TextureFormat tex_R5G6B5 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::R5G6B5;
constexpr zenkit::TextureFormat tex_p8 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::P8;
constexpr zenkit::TextureFormat tex_dxt1 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::DXT1;
constexpr zenkit::TextureFormat tex_dxt2 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::DXT2;
constexpr zenkit::TextureFormat tex_dxt3 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::DXT3;
constexpr zenkit::TextureFormat tex_dxt4 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::DXT4;
constexpr zenkit::TextureFormat tex_dxt5 ZKREM("use zenkit::TextureFormat") = zenkit::TextureFormat::DXT5;

using texture ZKREM("renamed to zenkit::Texture") = zenkit::Texture;
using texture_format ZKREM("renamed to zenkit::TextureFormat") = zenkit::TextureFormat;
Expand Down

0 comments on commit bba5450

Please sign in to comment.