mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
fix previous commit
This commit is contained in:
@@ -966,23 +966,20 @@ void SaveSurfAtCrossHair()
|
||||
}
|
||||
|
||||
|
||||
void DebugDrawLightmapAtCrossHair()
|
||||
void DebugDrawLightmapAtCrossHair() // Lol
|
||||
{
|
||||
return;
|
||||
#if 0
|
||||
IMaterial *pMaterial;
|
||||
int lightmapPageSize[2];
|
||||
|
||||
if( s_CrossHairSurfID <= (SurfaceHandle_t)0 )
|
||||
{
|
||||
if( !s_CrossHairSurfID )
|
||||
return;
|
||||
}
|
||||
materials->GetLightmapPageSize( materialSortInfoArray[MSurf_MaterialSortID( s_CrossHairSurfID )].lightmapPageID,
|
||||
&lightmapPageSize[0], &lightmapPageSize[1] );
|
||||
pMaterial = MSurf_TexInfo( s_CrossHairSurfID )->material;
|
||||
// pMaterial->GetLowResColorSample( textureS, textureT, baseColor );
|
||||
DrawLightmapPage( materialSortInfoArray[MSurf_MaterialSortID( s_CrossHairSurfID )].lightmapPageID );
|
||||
|
||||
#if 0
|
||||
int i;
|
||||
for( i = 0; i < 2; i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user