From 6ed78d120220c922727804bf45a50888c5e6e5ee Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Wed, 26 Jan 2022 22:37:38 +0100 Subject: [PATCH] another GL_CLIP_DISTANCE0 build fix --- core/rend/gles/naomi2.cpp | 5 ----- core/rend/gles/naomi2.h | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/rend/gles/naomi2.cpp b/core/rend/gles/naomi2.cpp index fa6961d88..833525764 100644 --- a/core/rend/gles/naomi2.cpp +++ b/core/rend/gles/naomi2.cpp @@ -18,11 +18,6 @@ */ #include "naomi2.h" -// FIXME GLES -#ifndef GL_CLIP_DISTANCE0 -#define GL_CLIP_DISTANCE0 0x3000 -#endif - const char* N2VertexShader = R"( uniform vec4 depth_scale; uniform mat4 normal_matrix; diff --git a/core/rend/gles/naomi2.h b/core/rend/gles/naomi2.h index 83413e848..376b82ae3 100644 --- a/core/rend/gles/naomi2.h +++ b/core/rend/gles/naomi2.h @@ -19,6 +19,11 @@ #pragma once #include "gles.h" +// FIXME GLES +#ifndef GL_CLIP_DISTANCE0 +#define GL_CLIP_DISTANCE0 0x3000 +#endif + class N2VertexSource : public OpenGlSource { public: