mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Linux compile fix after updating catch2
Add +#undef Always where it is required
This commit is contained in:
committed by
Baldur Karlsson
parent
0a7020b557
commit
85ab48750e
@@ -1912,6 +1912,7 @@ void RenderDoc::RemoveFrameCapturer(void *dev, void *wnd)
|
||||
#if ENABLED(ENABLE_UNIT_TESTS)
|
||||
|
||||
#undef None
|
||||
#undef Always
|
||||
|
||||
#include "catch/catch.hpp"
|
||||
|
||||
|
||||
@@ -2635,6 +2635,7 @@ Topology MakePrimitiveTopology(GLenum Topo)
|
||||
#if ENABLED(ENABLE_UNIT_TESTS)
|
||||
|
||||
#undef None
|
||||
#undef Always
|
||||
|
||||
#include "catch/catch.hpp"
|
||||
|
||||
|
||||
@@ -3742,6 +3742,7 @@ void GLDispatchTable::DriverForEmulation(WrappedOpenGL *driver)
|
||||
#if ENABLED(ENABLE_UNIT_TESTS)
|
||||
|
||||
#undef None
|
||||
#undef Always
|
||||
|
||||
#include "../gl_shader_refl.h"
|
||||
#include "catch/catch.hpp"
|
||||
|
||||
@@ -1126,6 +1126,7 @@ void DescriptorSetSlot::AccumulateBindRefs(DescriptorBindRefs &refs, VulkanResou
|
||||
#if ENABLED(ENABLE_UNIT_TESTS)
|
||||
|
||||
#undef None
|
||||
#undef Always
|
||||
|
||||
#include "catch/catch.hpp"
|
||||
|
||||
|
||||
@@ -4642,6 +4642,7 @@ void WrappedVulkan::ReplayDraw(VkCommandBuffer cmd, const DrawcallDescription &d
|
||||
#if ENABLED(ENABLE_UNIT_TESTS)
|
||||
|
||||
#undef None
|
||||
#undef Always
|
||||
|
||||
#include "catch/catch.hpp"
|
||||
|
||||
|
||||
@@ -4277,6 +4277,7 @@ FrameRefType MarkImageReferenced(rdcflatmap<ResourceId, ImageState> &imageStates
|
||||
#if ENABLED(ENABLE_UNIT_TESTS)
|
||||
|
||||
#undef None
|
||||
#undef Always
|
||||
|
||||
#include "catch/catch.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user