Skip to content

Commit 2e86bd2

Browse files
committed
Fix compilation issues on Unreal 5.3
1 parent 2b2a440 commit 2e86bd2

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Source/BetaHubBugReporter/Private/BH_GameRecorder.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,17 @@ UBH_GameRecorder::UBH_GameRecorder(const FObjectInitializer& ObjectInitializer)
2626
, bIsRecording(false)
2727
, bCopyTextureStarted(false)
2828
, StagingTexture(nullptr)
29-
, RawFrameBufferPool(3)
3029
, ViewportWidth(0)
3130
, ViewportHeight(0)
3231
, FrameWidth(0)
3332
, FrameHeight(0)
34-
, MaxVideoWidth(512) // Initialize with minimum value
35-
, MaxVideoHeight(512) // Initialize with minimum value
33+
, LastCaptureTime(0)
34+
, RawFrameBufferQueue()
35+
, RawFrameBufferPool(3)
3636
, MainEditorWindow(nullptr)
3737
, LargestSize(0, 0)
38+
, MaxVideoWidth(512) // Initialize with minimum value
39+
, MaxVideoHeight(512) // Initialize with minimum value
3840
{
3941
FrameBuffer = ObjectInitializer.CreateDefaultSubobject<UBH_FrameBuffer>(this, TEXT("FrameBuffer"));
4042
}

Source/BetaHubBugReporter/Private/BH_VideoEncoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ BH_VideoEncoder::BH_VideoEncoder(
4646
IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();
4747
if (!PlatformFile.DirectoryExists(*segmentsDir))
4848
{
49-
PlatformFile.CreateDirectory(*segmentsDir);
49+
PlatformFile.CreateDirectoryTree(*segmentsDir);
5050
}
5151

5252
// Remove all existing segment files

0 commit comments

Comments
 (0)