We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e33546e commit 15834deCopy full SHA for 15834de
1 file changed
src/Modules/MaterialSystem.cpp
@@ -103,9 +103,9 @@ bool MaterialSystem::Init() {
103
if (this->renderContextSize && this->RenderContextShutdown && this->RenderContextInit) {
104
if (*this->renderContextSize != RENDERCONTEXT_ALLOC_SIZE) {
105
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();
+ g_renderContextPatch->Execute((uintptr_t)this->renderContextSize, (unsigned char *)&byte, sizeof(uint32_t));
+ this->RenderContextShutdown();
+ this->RenderContextInit();
109
}
110
111
0 commit comments