mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
fix shader loading on startup
This commit is contained in:
parent
3a34a13118
commit
4e63b6e6d4
1 changed files with 9 additions and 0 deletions
|
|
@ -1176,6 +1176,15 @@ void D_SRB2Main(void)
|
||||||
CONS_Printf("I_StartupGraphics()...\n");
|
CONS_Printf("I_StartupGraphics()...\n");
|
||||||
I_StartupGraphics();
|
I_StartupGraphics();
|
||||||
|
|
||||||
|
#ifdef HWRENDER
|
||||||
|
if (rendermode == render_opengl)
|
||||||
|
{
|
||||||
|
INT32 i;
|
||||||
|
for (i = 0; i < numwadfiles; i++)
|
||||||
|
HWR_LoadShaders(i, (wadfiles[i]->type == RET_PK3));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//--------------------------------------------------------- CONSOLE
|
//--------------------------------------------------------- CONSOLE
|
||||||
// setup loading screen
|
// setup loading screen
|
||||||
SCR_Startup();
|
SCR_Startup();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue