Skip to content

Commit

Permalink
renderer: do not create sky image when unused
Browse files Browse the repository at this point in the history
  • Loading branch information
illwieckz committed Aug 9, 2024
1 parent b4ac7ac commit 5d11c11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/engine/renderer/tr_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2731,6 +2731,11 @@ static void R_CreateReflectionCubeImages()
// *INDENT-OFF*
static void R_CreateWhiteCubeImage()
{
if ( r_fastsky.Get() )
{
return;
}

int i;
int width, height;
byte *data[ 6 ];
Expand Down

0 comments on commit 5d11c11

Please sign in to comment.