mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Don't draw if not all writable images and/or buffers are set.
This commit is contained in:
@@ -372,6 +372,8 @@ private:
|
||||
VertexAttributesID attributesID,
|
||||
const BufferBindings &buffers, graphics::Texture *texture,
|
||||
PrimitiveType, CullMode);
|
||||
bool prepareBarrier(VkAccessFlags &dstAccessMask, VkPipelineStageFlags &dstStageMask);
|
||||
void tryBarrier(VkAccessFlags dstAccessMask, VkPipelineStageFlags dstStageMask);
|
||||
void setRenderPass(const RenderTargets &rts, int pixelw, int pixelh);
|
||||
void setDefaultRenderPass();
|
||||
void startRenderPass();
|
||||
@@ -379,7 +381,6 @@ private:
|
||||
void applyScissor();
|
||||
VkSampler createSampler(const SamplerState &sampler);
|
||||
void requestSwapchainRecreation();
|
||||
void endDraw();
|
||||
|
||||
VkInstance instance = VK_NULL_HANDLE;
|
||||
VkPhysicalDevice physicalDevice = VK_NULL_HANDLE;
|
||||
|
||||
Reference in New Issue
Block a user