Skip to content

Commit

Permalink
ScanAndLoadShaderFiles: add a comment near the shader table initializ…
Browse files Browse the repository at this point in the history
…ation explaining which behaviour is produced
  • Loading branch information
illwieckz committed Mar 10, 2019
1 parent e3d26de commit 47101ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/engine/renderer/tr_shader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5551,6 +5551,7 @@ static void ScanAndLoadShaderFiles()
shaderTable_t *tb;
bool alreadyCreated;

// zeroes all shaders, booleans can be assumed as false
Com_Memset( &table, 0, sizeof( table ) );

token = COM_ParseExt2( &p, true );
Expand Down

0 comments on commit 47101ac

Please sign in to comment.