Skip to content

Commit

Permalink
fix TTFFontConfigLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
irov committed Jan 5, 2024
1 parent 0db9553 commit db525c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public void onCreate(MengineActivity activity, Bundle savedInstanceState) throws
m_nonetBanners = nonetBanners;
}

MengineAppLovinPlugin.this.activateSemaphore("AppLovinSdkInitialized");
this.activateSemaphore("AppLovinSdkInitialized");

if (this.hasOption("applovin.show_mediation_debugger") == true) {
this.showMediationDebugger();
Expand Down
1 change: 0 additions & 1 deletion src/Plugins/FEPlugin/FEFontEffectFile.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#include "FEFontEffectFile.h"

#include "Interface/VocabularyServiceInterface.h"
#include "Interface/PrefetcherServiceInterface.h"

#include "Kernel/ConstStringHelper.h"
Expand Down
5 changes: 5 additions & 0 deletions src/Plugins/TTFPlugin/TTFFontConfigLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "Interface/FileServiceInterface.h"
#include "Interface/PrototypeServiceInterface.h"
#include "Interface/FontServiceInterface.h"
#include "Interface/VocabularyServiceInterface.h"

#include "Plugins/FEPlugin/FEInterface.h"

Expand Down Expand Up @@ -93,6 +94,10 @@ namespace Mengine

MENGINE_ASSERTION_MEMORY_PANIC( content );

DataflowInterfacePtr dataflowFE = VOCABULARY_GET( STRINGIZE_STRING_LOCAL( "Dataflow" ), STRINGIZE_STRING_LOCAL( "feFont" ) );

content->setDataflow( dataflowFE );

fontEffet->setContent( content );

UnknownFEFileInterface * unknownFE = fontEffet->getDynamicUnknown();
Expand Down

0 comments on commit db525c4

Please sign in to comment.