DroneCI (#12)
parent
5a92fdf984
commit
2dbfab6b98
|
@ -0,0 +1,14 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: fedora
|
||||
commands:
|
||||
- dnf install -y git cmake clang SDL2-devel
|
||||
- git submodule update --recursive --init
|
||||
- cmake -E make_directory ./build
|
||||
- cd ./build
|
||||
- cmake -S .. -B .
|
||||
- make
|
|
@ -1,3 +1,3 @@
|
|||
[submodule "Vulkan-Headers"]
|
||||
path = Vulkan-Headers
|
||||
url = git@github.com:KhronosGroup/Vulkan-Headers.git
|
||||
url = https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
[![Build Status](https://github.drone.moonside.games/api/badges/thatcosmonaut/Refresh/status.svg)](https://github.drone.moonside.games/thatcosmonaut/Refresh)
|
||||
|
||||
This is Refresh, an XNA-inspired 3D graphics library with modern capabilities.
|
||||
|
||||
License
|
|
@ -7264,7 +7264,7 @@ static void VULKAN_AddDisposeFramebuffer(
|
|||
VulkanFramebuffer*,
|
||||
renderer->framebuffersToDestroyCount + 1,
|
||||
renderer->framebuffersToDestroyCapacity,
|
||||
renderer->framebuffersToDestroyCapacity *= 2
|
||||
renderer->framebuffersToDestroyCapacity * 2
|
||||
)
|
||||
|
||||
renderer->framebuffersToDestroy[renderer->framebuffersToDestroyCount] = vulkanFramebuffer;
|
||||
|
@ -7812,6 +7812,13 @@ static VulkanCommandPool* VULKAN_INTERNAL_FetchCommandPool(
|
|||
&vulkanCommandPool->commandPool
|
||||
);
|
||||
|
||||
if (vulkanResult != VK_SUCCESS)
|
||||
{
|
||||
REFRESH_LogError("Failed to create command pool!");
|
||||
LogVulkanResult("vkCreateCommandPool", vulkanResult);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
vulkanCommandPool->threadID = threadID;
|
||||
|
||||
vulkanCommandPool->inactiveCommandBufferCapacity = 0;
|
||||
|
@ -8345,7 +8352,7 @@ static void VULKAN_Submit(
|
|||
&presentInfo
|
||||
);
|
||||
|
||||
if (renderer->needNewSwapChain)
|
||||
if (presentResult != VK_SUCCESS || renderer->needNewSwapChain)
|
||||
{
|
||||
VULKAN_INTERNAL_RecreateSwapchain(renderer);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue