Skip to content

Commit

Permalink
fixed clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenegff committed Nov 21, 2024
1 parent 53157eb commit 7b3a46e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion RenderSystems/Vulkan/include/OgreVulkanDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ namespace Ogre
#endif
};


struct _OgreVulkanExport VulkanDevice
{
struct SelectedQueue
Expand Down
2 changes: 1 addition & 1 deletion RenderSystems/Vulkan/src/OgreVulkanDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ namespace Ogre

bool StrCmpLess( const char *a, const char *b ) { return strcmp( a, b ) < 0; }

void sortAndRelocate( FastArray<const char *> &ar, String &hostStr )
void sortAndRelocate( FastArray<const char *> &ar, String &hostStr )
{
std::sort( ar.begin(), ar.end(), StrCmpLess );

Expand Down
5 changes: 2 additions & 3 deletions RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ namespace Ogre

mInvertedClipSpaceY = true;


VulkanExternalInstance *externalInstance = nullptr;
if( options )
{
Expand All @@ -224,8 +223,8 @@ namespace Ogre
loadRenderDocApi();
#endif

mInstance = std::make_shared<VulkanInstance>(
Root::getSingleton().getAppName(), externalInstance, dbgFunc, this );
mInstance = std::make_shared<VulkanInstance>( Root::getSingleton().getAppName(),
externalInstance, dbgFunc, this );

initConfigOptions();
}
Expand Down
2 changes: 1 addition & 1 deletion RenderSystems/Vulkan/src/OgreVulkanSupport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ namespace Ogre
//-------------------------------------------------------------------------
ConfigOptionMap &VulkanSupport::getConfigOptions( VulkanRenderSystem *renderSystem )
{
assert( !mOptions.empty() ); // addConfig() already called
assert( !mOptions.empty() ); // addConfig() already called
return mOptions;
}
//-------------------------------------------------------------------------
Expand Down

0 comments on commit 7b3a46e

Please sign in to comment.