summaryrefslogtreecommitdiff
path: root/tools/gfx/render.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/render.h')
-rw-r--r--tools/gfx/render.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx/render.h b/tools/gfx/render.h
index f59a5ef9f..bfbe0f82a 100644
--- a/tools/gfx/render.h
+++ b/tools/gfx/render.h
@@ -5,6 +5,8 @@
//#include "shader-input-layout.h"
+#include <float.h>
+
#include "../../slang-com-helper.h"
#include "../../source/core/smart-pointer.h"
@@ -424,6 +426,10 @@ class TextureResource: public Resource
Desc m_desc;
};
+// Needed for building on cygwin with gcc
+#undef Always
+#undef None
+
enum class ComparisonFunc : uint8_t
{
Never = 0,