Merge Surface into hwrenderer::Surface
This commit is contained in:
parent
14881a6fb2
commit
23deb11399
7 changed files with 73 additions and 98 deletions
|
|
@ -240,7 +240,7 @@ static int CreateIndexedSectorVerticesLM(FRenderState& renderstate, sector_t* se
|
|||
{
|
||||
subsector_t* sub = sec->subsectors[i];
|
||||
LightmapSurface* lightmap = &sub->lightmap[h][lightmapIndex];
|
||||
if (lightmap->Type != ST_NULL)
|
||||
if (lightmap->Type != hwrenderer::ST_UNKNOWN)
|
||||
{
|
||||
float* luvs = lightmap->TexCoords;
|
||||
int lindex = lightmap->LightmapNum;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue