another GL_CLIP_DISTANCE0 build fix

This commit is contained in:
Flyinghead 2022-01-26 22:37:38 +01:00
parent 270eaa1452
commit 6ed78d1202
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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: