Skip to content

Commit

Permalink
Moved renderer initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenguin committed Dec 30, 2021
1 parent d8e6940 commit 40c518e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/road.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ void showModal(char* fname, float reelW, float reelH, float screenW, float scree


int xtInitApplication(void) {
renderer::scene::RenderingContext::create(std::make_unique<renderer::scene::SokolRenderer>());

XGraphWndID = "VANGERS";
char *tmp;

Expand Down Expand Up @@ -976,8 +978,6 @@ void LoadingRTO2::Init(int id)
StandScreenPrepare();
#endif
_MEM_STATISTIC_("\nBEFORE VMAP -> ");
renderer::scene::RenderingContext::create(std::make_unique<renderer::scene::SokolRenderer>());

vMapPrepare(mapFName,CurrentWorld);
vMapInit();
_MEM_STATISTIC_("AFTER VMAP -> ");
Expand Down

0 comments on commit 40c518e

Please sign in to comment.