Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Dec 29, 2024
1 parent 9ad03e7 commit 6e32f14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions RenderSystems/Vulkan/src/OgreVulkanRenderSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ namespace Ogre
if( device != nullptr && device->mDeviceLostReason == VK_SUCCESS &&
( vkResult == VK_ERROR_OUT_OF_HOST_MEMORY || vkResult == VK_ERROR_OUT_OF_DEVICE_MEMORY ||
vkResult == VK_ERROR_DEVICE_LOST ) )
{
device->mDeviceLostReason = vkResult;
}

ExceptionFactory::throwException( Exception::ERR_RENDERINGAPI_ERROR, vkResult,
desc + ( "\nVkResult = " + vkResultToString( vkResult ) ), src,
Expand Down

0 comments on commit 6e32f14

Please sign in to comment.