Skip to content

Commit

Permalink
tr_image: add some assert for missing float support
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed May 30, 2024
1 parent 303e06f commit 1c64967
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/engine/renderer/tr_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2424,6 +2424,8 @@ static void R_CreateCurrentRenderImage()

static void R_CreateDepthRenderImage()
{
ASSERT( glConfig2.textureFloatAvailable );

if ( !glConfig2.dynamicLight )
{
return;
Expand Down

0 comments on commit 1c64967

Please sign in to comment.