Skip to content

Commit

Permalink
tr_init: let gfxinfo tell about half-float usage
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Jun 11, 2024
1 parent ce8361d commit 7f896cb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/engine/renderer/tr_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -985,6 +985,15 @@ ScreenshotCmd screenshotPNGRegistration("screenshotPNG", ssFormat_t::SSF_PNG, "p
Log::Notice("%sMissing OpenGL extensions: %s", Color::ToString( Color::Red ), glConfig2.glMissingExtensionsString );
}

if ( glConfig2.halfFloatVertexAvailable )
{
Log::Notice("%sUsing half-float vertex format.", Color::ToString( Color::Green ));
}
else
{
Log::Notice("%sMissing half-float vertex format.", Color::ToString( Color::Red ));
}

if ( glConfig.hardwareType == glHardwareType_t::GLHW_R300 )
{
Log::Notice("%sUsing ATI R300 approximations.", Color::ToString( Color::Red ));
Expand Down

0 comments on commit 7f896cb

Please sign in to comment.