mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-04-29 19:44:49 +02:00
Lanczos3/bicubic shaders: Only set default precision on GLES
Doing so is noncompliant with desktop GL.
This commit is contained in:
parent
1dfb7b4db0
commit
8ef08ce5da
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue