Fix viewport resizing not updating camera aspect ratio
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <algorithm>
|
||||
#undef max
|
||||
|
||||
namespace openVulkanoCpp
|
||||
{
|
||||
@@ -43,7 +44,7 @@ namespace openVulkanoCpp
|
||||
this->frameBufferClearColor = frameBufferClearColor;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::array<float, 4> GetFrameBufferClearColor() const
|
||||
[[nodiscard]] const std::array<float, 4>& GetFrameBufferClearColor() const
|
||||
{
|
||||
return frameBufferClearColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user