Skip to content

Commit 8d05c89

Browse files
committed
renderer: rename the GLimp_LogComment() macro as GLIMP_LOGCOMMENT()
1 parent ba4e4bd commit 8d05c89

File tree

15 files changed

+124
-124
lines changed

15 files changed

+124
-124
lines changed

src/engine/renderer/Material.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ void BindShaderLightMapping( Material* material ) {
908908

909909
const float interpolation = 1.0 - trilerp[0];
910910

911-
GLimp_LogComment( "Probe 0 distance = %f, probe 1 distance = %f, interpolation = %f",
911+
GLIMP_LOGCOMMENT( "Probe 0 distance = %f, probe 1 distance = %f, interpolation = %f",
912912
Distance( position, probes[0]->origin ), Distance( position, probes[1]->origin ), interpolation );
913913

914914
// bind u_EnvironmentMap0

src/engine/renderer/gl_shader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2357,7 +2357,7 @@ void GLShader::BindProgram( int deformIndex ) {
23572357

23582358
GetCompileMacrosString( index, macros, GLCompileMacro::VERTEX | GLCompileMacro::FRAGMENT );
23592359

2360-
GLimp_LogComment( "--- GL_BindProgram( name = '%s', macros = '%s' ) ---",
2360+
GLIMP_LOGCOMMENT( "--- GL_BindProgram( name = '%s', macros = '%s' ) ---",
23612361
this->GetName(), macros );
23622362
}
23632363

src/engine/renderer/gl_shader.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3681,7 +3681,7 @@ class u_ColorModulateColorGen_Float :
36813681
const bool vertexOverbright = false,
36823682
const bool useMapLightFactor = false )
36833683
{
3684-
GLimp_LogComment( "--- u_ColorModulate::SetUniform_ColorModulateColorGen_Float( "
3684+
GLIMP_LOGCOMMENT( "--- u_ColorModulate::SetUniform_ColorModulateColorGen_Float( "
36853685
"program = %s, colorGen = %s, alphaGen = %s ) ---",
36863686
_shader->GetName().c_str(), Util::enum_str( colorGen ), Util::enum_str( alphaGen ) );
36873687

@@ -3712,7 +3712,7 @@ class u_ColorModulateColorGen_Uint :
37123712
const bool vertexOverbright = false,
37133713
const bool useMapLightFactor = false )
37143714
{
3715-
GLimp_LogComment( "--- u_ColorModulate::SetUniform_ColorModulateColorGen_Uint( "
3715+
GLIMP_LOGCOMMENT( "--- u_ColorModulate::SetUniform_ColorModulateColorGen_Uint( "
37163716
"program = %s, colorGen = %s, alphaGen = %s ) ---",
37173717
_shader->GetName().c_str(), Util::enum_str( colorGen ), Util::enum_str( alphaGen ) );
37183718

0 commit comments

Comments
 (0)