Skip to content

Commit

Permalink
using non alpha channeled texture
Browse files Browse the repository at this point in the history
  • Loading branch information
andristarr authored and teoxoy committed Feb 1, 2024
1 parent d0c52d7 commit c87e3d4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions wgpu-hal/src/gles/conv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,7 @@ impl super::AdapterShared {
glow::RGBA,
0,
),
Tf::Etc2Rgba8Unorm => (
//TODO: this is a lie, it's not sRGB
glow::COMPRESSED_SRGB8_ALPHA8_ETC2_EAC,
glow::RGBA,
0,
),
Tf::Etc2Rgba8Unorm => (glow::COMPRESSED_RGBA8_ETC2_EAC, glow::RGBA, 0),
Tf::Etc2Rgba8UnormSrgb => (glow::COMPRESSED_SRGB8_ALPHA8_ETC2_EAC, glow::RGBA, 0),
Tf::EacR11Unorm => (glow::COMPRESSED_R11_EAC, glow::RED, 0),
Tf::EacR11Snorm => (glow::COMPRESSED_SIGNED_R11_EAC, glow::RED, 0),
Expand Down

0 comments on commit c87e3d4

Please sign in to comment.