Skip to content

Commit

Permalink
Fix incorrect comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Oct 29, 2024
1 parent fd601bc commit e9fac59
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CesiumGltfReader/src/NetworkImageAssetDescriptor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ bool NetworkImageAssetDescriptor::operator==(
return this->ktx2TranscodeTargets.ETC1S_R ==
rhs.ktx2TranscodeTargets.ETC1S_R &&
this->ktx2TranscodeTargets.ETC1S_RG ==
this->ktx2TranscodeTargets.ETC1S_RG &&
rhs.ktx2TranscodeTargets.ETC1S_RG &&
this->ktx2TranscodeTargets.ETC1S_RGB ==
this->ktx2TranscodeTargets.ETC1S_RGB &&
rhs.ktx2TranscodeTargets.ETC1S_RGB &&
this->ktx2TranscodeTargets.ETC1S_RGBA ==
this->ktx2TranscodeTargets.ETC1S_RGBA &&
rhs.ktx2TranscodeTargets.ETC1S_RGBA &&
this->ktx2TranscodeTargets.UASTC_R ==
rhs.ktx2TranscodeTargets.UASTC_R &&
this->ktx2TranscodeTargets.UASTC_RG ==
this->ktx2TranscodeTargets.UASTC_RG &&
rhs.ktx2TranscodeTargets.UASTC_RG &&
this->ktx2TranscodeTargets.UASTC_RGB ==
this->ktx2TranscodeTargets.UASTC_RGB &&
rhs.ktx2TranscodeTargets.UASTC_RGB &&
this->ktx2TranscodeTargets.UASTC_RGBA ==
this->ktx2TranscodeTargets.UASTC_RGBA;
rhs.ktx2TranscodeTargets.UASTC_RGBA;
}

Future<ResultPointer<ImageAsset>> NetworkImageAssetDescriptor::load(
Expand Down

0 comments on commit e9fac59

Please sign in to comment.