Skip to content

Commit 15834de

Browse files
committed
fixup: whoopsie
1 parent e33546e commit 15834de

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Modules/MaterialSystem.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ bool MaterialSystem::Init() {
103103
if (this->renderContextSize && this->RenderContextShutdown && this->RenderContextInit) {
104104
if (*this->renderContextSize != RENDERCONTEXT_ALLOC_SIZE) {
105105
auto byte = RENDERCONTEXT_ALLOC_SIZE;
106-
// g_renderContextPatch->Execute((uintptr_t)this->renderContextSize, (unsigned char *)&byte, sizeof(uint32_t));
107-
// this->RenderContextShutdown();
108-
// this->RenderContextInit();
106+
g_renderContextPatch->Execute((uintptr_t)this->renderContextSize, (unsigned char *)&byte, sizeof(uint32_t));
107+
this->RenderContextShutdown();
108+
this->RenderContextInit();
109109
}
110110
}
111111

0 commit comments

Comments
 (0)