Minor cleanup

This commit is contained in:
Robert Beckebans 2021-04-01 14:23:47 +02:00
parent 8f82bb0fb9
commit 7c3ff6466b
4 changed files with 10 additions and 4 deletions

View file

@ -616,7 +616,6 @@ idMapBrush* idMapBrush::ParseValve220( idLexer& src, const idVec3& origin )
planepts[2] -= origin;
side->plane.FromPoints( planepts[0], planepts[1], planepts[2] );
//side->plane.FromPoints( planepts[2], planepts[1], planepts[0] );
// read the material
if( !src.ReadTokenOnLine( &token ) )

View file

@ -1318,6 +1318,15 @@ void R_LoadImage( const char* cname, byte** pic, int* width, int* height, ID_TIM
pbrImageLookup = true;
}
#if 0
else if( usage && *usage == TD_R11G11B10F )
{
name.StripFileExtension();
ext = "exr";
name.DefaultFileExtension( ".exr" );
}
#endif
retry:

View file

@ -5,7 +5,7 @@ Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
Copyright (C) 2014 Carl Kenner
Copyright (C) 2016-2017 Dustin Land
Copyright (C) 2013-2020 Robert Beckebans
Copyright (C) 2013-2021 Robert Beckebans
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").

View file

@ -1592,8 +1592,6 @@ void RB_SetVertexColorParms( stageVertexColor_t svc );
#include "jobs/dynamicshadowvolume/DynamicShadowVolume.h"
#include "GLMatrix.h"
#include "BufferObject.h"
#include "RenderProgs.h"
#include "RenderWorld_local.h"