diff --git a/core/rend/gles/gles.cpp b/core/rend/gles/gles.cpp index 6edb3f7b2..f70a2e0f4 100644 --- a/core/rend/gles/gles.cpp +++ b/core/rend/gles/gles.cpp @@ -114,7 +114,7 @@ void main() \n\ vtx_offs=in_offs; \n\ vtx_uv=in_uv; \n\ vec4 vpos=in_pos; \n\ -#if TARGET_GL != GLES2 \n\ +#if TARGET_GL == GL \n\ if (isinf(vpos.z)) \n\ vpos.w = 1.18e-38; \n\ else \n\