From 9adf481c8e5bd618d3bf50b669b29b70c6b2726d Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Mon, 15 Oct 2018 21:26:02 -1000 Subject: [PATCH] Remove FLIPFROMGL macro from GLSL header --- include/boo/graphicsdev/GLSLMacros.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/boo/graphicsdev/GLSLMacros.hpp b/include/boo/graphicsdev/GLSLMacros.hpp index 82e764d..1f87528 100644 --- a/include/boo/graphicsdev/GLSLMacros.hpp +++ b/include/boo/graphicsdev/GLSLMacros.hpp @@ -8,10 +8,8 @@ "#define gl_VertexID gl_VertexIndex\n" \ "#extension GL_ARB_separate_shader_objects: enable\n" \ "#define SBINDING(idx) layout(location=idx)\n" \ -"#define FLIPFROMGL(vec) vec4((vec).x, -(vec).y, (vec).z, (vec).w)\n" \ "#else\n" \ "#define SBINDING(idx)\n" \ -"#define FLIPFROMGL(vec) (vec)\n" \ "#endif\n" \ "#extension GL_ARB_shading_language_420pack: enable\n" \ "#ifdef GL_ARB_shading_language_420pack\n" \