Skip to content

Commit

Permalink
Fix UE 5.3/5.4 compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Sep 30, 2024
1 parent 3067284 commit aa58bd9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/CesiumRuntime/Private/CesiumTextureResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ FCesiumTextureResource::FCesiumTextureResource(
}

#if ENGINE_VERSION_5_3_OR_HIGHER
void FCesiumTextureResourceBase::InitRHI(FRHICommandListBase& RHICmdList) {
void FCesiumTextureResource::InitRHI(FRHICommandListBase& RHICmdList) {
#else
void FCesiumTextureResource::InitRHI() {
#endif
Expand Down
2 changes: 1 addition & 1 deletion Source/CesiumRuntime/Private/CesiumTextureUtility.h
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ CesiumUtility::IntrusivePointer<ReferenceCountedUnrealTexture>
loadTextureGameThreadPart(LoadedTextureResult* pHalfLoadedTexture);

/**
* Creates a `FCesiumTextureResourceBase` for an image. This texture resource is
* Creates a `FCesiumTextureResource` for an image. This texture resource is
* intended to be later used with `FCesiumUseExistingTextureResource`, which
* will supply sampler, texture group, and other settings.
*/
Expand Down

0 comments on commit aa58bd9

Please sign in to comment.