Skip to content

Commit

Permalink
fixed packaged builds
Browse files Browse the repository at this point in the history
  • Loading branch information
goodtrailer committed Jun 6, 2020
1 parent 97fd009 commit 38ddec4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Config/DefaultGame.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ IncludeAppLocalPrerequisites=False
bShareMaterialShaderCode=False
bSharedMaterialNativeLibraries=False
ApplocalPrerequisitesDirectory=(Path="")
IncludeCrashReporter=True
IncludeCrashReporter=False
InternationalizationPreset=English
-CulturesToStage=en
+CulturesToStage=en
LocalizationTargetCatchAllChunkId=0
bCookAll=True
bCookMapsOnly=False
bCompressed=False
bCompressed=True
bSkipEditorContent=False
bSkipMovies=False
-IniKeyBlacklist=KeyStorePassword
Expand Down
Binary file added Screenshots/Screenshot_03.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions Source/Paper/PaperGameMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ void APaperGameMode::GenerateBoard()
ManagedMipMap(FTexture2DMipMap* Source)
{
MipMap = Source;
ColorArray = reinterpret_cast<const FColor*>(MipMap->BulkData.LockReadOnly());
ColorArray = reinterpret_cast<FColor*>(MipMap->BulkData.Lock(LOCK_READ_ONLY));
}

~ManagedMipMap()
{
MipMap->BulkData.Unlock();
}

inline const FColor* GetColorArray() const
inline FColor* GetColorArray() const
{
return ColorArray;
}
Expand All @@ -66,7 +66,7 @@ void APaperGameMode::GenerateBoard()
}
private:
FTexture2DMipMap* MipMap;
const FColor* ColorArray;
FColor* ColorArray;
} ManagedBoardLayoutMipMap(&BoardLayoutTexture->PlatformData->Mips[0]);

int BoardLayoutBounds[2][2];
Expand Down

0 comments on commit 38ddec4

Please sign in to comment.