Skip to content

Commit

Permalink
HLSL2GLSLConverter: shrink returned GLSL source string
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Aug 6, 2024
1 parent 35c404f commit 88c3cb6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4798,6 +4798,7 @@ String HLSL2GLSLConverterImpl::ConversionStream::Convert(const Char* EntryPoint,
if (IncludeDefintions)
GLSLSource.insert(0, g_GLSLDefinitions);

GLSLSource.shrink_to_fit();
return GLSLSource;
}

Expand Down

0 comments on commit 88c3cb6

Please sign in to comment.