- moved a large portion of gl_textures.cpp into the main files for the implementing classes.

The old organization made sense when ZDoom still was a thing but now it'd be better if all pure data with no dependence on renderer implementation details was moved out.
A separation between GL2 and GL3+4 renderers looks to be inevitable and the more data is out of the renderer when that happens, the better.
This commit is contained in:
Christoph Oelckers 2018-03-31 19:20:59 +02:00
commit bc485a7f2c
22 changed files with 681 additions and 533 deletions

View file

@ -68,9 +68,6 @@ CUSTOM_CVAR(Bool, gl_notexturefill, false, 0)
void gl_CreateSections();
void AddAutoMaterials();
//==========================================================================
@ -279,11 +276,6 @@ void gl_RecalcVertexHeights(vertex_t * v)
void gl_InitData()
{
AddAutoMaterials();
}
//==========================================================================
//
// dumpgeometry