mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 15:05:59 +01:00
use highp for pixcoord to fix nvidia border issues
This commit is contained in:
parent
9247f88d0c
commit
6cbaad896c
1 changed files with 2 additions and 1 deletions
|
@ -52,7 +52,8 @@ vec4 getColorForCoord(vec2 normalizedCoord) {
|
|||
void main() {
|
||||
|
||||
highp vec2 pixCoord = vec2(gl_FragCoord);
|
||||
vec2 originalPixCoord = fullSizeUntransformed * v_texcoord;
|
||||
highp vec2 originalPixCoord = v_texcoord;
|
||||
originalPixCoord *= fullSizeUntransformed;
|
||||
|
||||
vec4 pixColor = getColorForCoord(v_texcoord);
|
||||
pixColor[3] *= alpha;
|
||||
|
|
Loading…
Reference in a new issue