Lanczos3/bicubic shaders: Only set default precision on GLES

Doing so is noncompliant with desktop GL.
This commit is contained in:
Splendide Imaginarius 2023-11-14 00:10:10 +00:00
parent 1dfb7b4db0
commit 8ef08ce5da
2 changed files with 8 additions and 2 deletions

View file

@ -3,7 +3,10 @@
// mkxp-z modifications Copyright 2022-2023 Splendide Imaginarius.
// MIT license.
precision highp float;
#ifdef GLSLES
precision highp float;
#endif
uniform sampler2D texture;
uniform vec2 sourceSize;
uniform vec2 texSizeInv;

View file

@ -3,7 +3,10 @@
// mkxp-z modifications Copyright 2022-2023 Splendide Imaginarius.
// MIT license.
precision highp float;
#ifdef GLSLES
precision highp float;
#endif
uniform sampler2D texture;
uniform vec2 sourceSize;
uniform vec2 texSizeInv;