mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge w_wad.c
This commit is contained in:
parent
9a7c33e91f
commit
428ac51c68
1 changed files with 0 additions and 6 deletions
|
|
@ -827,11 +827,6 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup)
|
||||||
numwadfiles++; // must come BEFORE W_LoadDehackedLumps, so any addfile called by COM_BufInsertText called by Lua doesn't overwrite what we just loaded
|
numwadfiles++; // must come BEFORE W_LoadDehackedLumps, so any addfile called by COM_BufInsertText called by Lua doesn't overwrite what we just loaded
|
||||||
|
|
||||||
#ifdef HWRENDER
|
#ifdef HWRENDER
|
||||||
<<<<<<< HEAD
|
|
||||||
if (rendermode == render_opengl)
|
|
||||||
HWR_LoadShaders(numwadfiles - 1, (wadfile->type == RET_PK3));
|
|
||||||
#endif
|
|
||||||
=======
|
|
||||||
// Read shaders from file
|
// Read shaders from file
|
||||||
if (rendermode == render_opengl && (vid_opengl_state == 1))
|
if (rendermode == render_opengl && (vid_opengl_state == 1))
|
||||||
{
|
{
|
||||||
|
|
@ -839,7 +834,6 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup)
|
||||||
HWR_LoadShaders();
|
HWR_LoadShaders();
|
||||||
}
|
}
|
||||||
#endif // HWRENDER
|
#endif // HWRENDER
|
||||||
>>>>>>> srb2/next
|
|
||||||
|
|
||||||
// TODO: HACK ALERT - Load Lua & SOC stuff right here. I feel like this should be out of this place, but... Let's stick with this for now.
|
// TODO: HACK ALERT - Load Lua & SOC stuff right here. I feel like this should be out of this place, but... Let's stick with this for now.
|
||||||
switch (wadfile->type)
|
switch (wadfile->type)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue