Merge w_wad.c

This commit is contained in:
SteelT 2020-08-10 12:57:47 -04:00
parent 9a7c33e91f
commit 428ac51c68

View file

@ -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
#ifdef HWRENDER
<<<<<<< HEAD
if (rendermode == render_opengl)
HWR_LoadShaders(numwadfiles - 1, (wadfile->type == RET_PK3));
#endif
=======
// Read shaders from file
if (rendermode == render_opengl && (vid_opengl_state == 1))
{
@ -839,7 +834,6 @@ UINT16 W_InitFile(const char *filename, boolean mainfile, boolean startup)
HWR_LoadShaders();
}
#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.
switch (wadfile->type)