Skip to content

Commit

Permalink
Fix clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Oct 9, 2023
1 parent 27a8328 commit a8087e5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions OgreMain/src/OgreHlmsManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,16 +874,15 @@ namespace Ogre
//-----------------------------------------------------------------------------------
void HlmsManager::saveMaterials( HlmsTypes hlmsType, const String &filename,
HlmsJsonListener *listener,
const String &additionalTextureExtension,
bool sortByName )
const String &additionalTextureExtension, bool sortByName )
{
assert( hlmsType != HLMS_MAX );
assert( hlmsType != HLMS_LOW_LEVEL );

String jsonString;
HlmsJson hlmsJson( this, listener );
hlmsJson.saveMaterials( mRegisteredHlms[hlmsType], jsonString,
additionalTextureExtension, sortByName );
hlmsJson.saveMaterials( mRegisteredHlms[hlmsType], jsonString, additionalTextureExtension,
sortByName );

std::ofstream file( filename.c_str(), std::ios::binary | std::ios::out );
if( file.is_open() )
Expand Down

0 comments on commit a8087e5

Please sign in to comment.