diff --git a/source/core/gamecontrol.cpp b/source/core/gamecontrol.cpp index 97a39d871..e3a9917a0 100644 --- a/source/core/gamecontrol.cpp +++ b/source/core/gamecontrol.cpp @@ -148,6 +148,7 @@ void FontCharCreated(FGameTexture* base, FGameTexture* untranslated); void LoadVoxelModels(); void MarkMap(); void BuildFogTable(); +void ParseGLDefs(); DStatusBarCore* StatusBar; @@ -1063,6 +1064,7 @@ int RunGame() gi->app_init(); StartScreen->Progress(); G_ParseMapInfo(); + ParseGLDefs(); ReplaceMusics(true); CreateStatusBar(); SetDefaultMenuColors(); diff --git a/source/core/r_data/gldefs.cpp b/source/core/r_data/gldefs.cpp index 727e47380..4e334b128 100644 --- a/source/core/r_data/gldefs.cpp +++ b/source/core/r_data/gldefs.cpp @@ -1799,9 +1799,11 @@ public: case TAG_MATERIAL: ParseMaterial(); break; +#endif case TAG_HARDWARESHADER: ParseHardwareShader(); break; +#if 0 case TAG_DETAIL: ParseDetailTexture(); break;