mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-08-19 06:52:36 +00:00
format source files
This commit is contained in:
@@ -59,9 +59,9 @@
|
||||
namespace Libs::Graphics {
|
||||
|
||||
struct PreparedFrame {
|
||||
VulkanImage image {VulkanImageType::Unknown};
|
||||
VulkanImage image {VulkanImageType::Unknown};
|
||||
std::unique_ptr<CommandBuffer> present_commands;
|
||||
bool busy = false;
|
||||
bool busy = false;
|
||||
};
|
||||
|
||||
class PreparedFramePool {
|
||||
@@ -385,7 +385,8 @@ static void VulkanRecreateSwapchain() {
|
||||
}
|
||||
|
||||
static void ValidatePreparedCommand(CommandBuffer* buffer) {
|
||||
if (buffer == nullptr || buffer->IsInvalid() || buffer->GetQueue() != GraphicContext::QUEUE_GFX) {
|
||||
if (buffer == nullptr || buffer->IsInvalid() ||
|
||||
buffer->GetQueue() != GraphicContext::QUEUE_GFX) {
|
||||
EXIT("prepared frames must be recorded on the graphics queue\n");
|
||||
}
|
||||
EXIT_IF(g_render_ctx == nullptr);
|
||||
|
||||
Reference in New Issue
Block a user