mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 13:25:42 +03:00
use highp for pixcoord to fix nvidia border issues
This commit is contained in:
parent
9247f88d0c
commit
6cbaad896c
@ -52,7 +52,8 @@ vec4 getColorForCoord(vec2 normalizedCoord) {
|
|||||||
void main() {
|
void main() {
|
||||||
|
|
||||||
highp vec2 pixCoord = vec2(gl_FragCoord);
|
highp vec2 pixCoord = vec2(gl_FragCoord);
|
||||||
vec2 originalPixCoord = fullSizeUntransformed * v_texcoord;
|
highp vec2 originalPixCoord = v_texcoord;
|
||||||
|
originalPixCoord *= fullSizeUntransformed;
|
||||||
|
|
||||||
vec4 pixColor = getColorForCoord(v_texcoord);
|
vec4 pixColor = getColorForCoord(v_texcoord);
|
||||||
pixColor[3] *= alpha;
|
pixColor[3] *= alpha;
|
||||||
|
Loading…
Reference in New Issue
Block a user