mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-30 09:00:36 +03:00
Fix warning about inconsistent types in shader
This commit is contained in:
1 parent
f0dbfc9b9c
commit
4cfb17529d
1 file changed
+2
-2
+2
-2
@@ -45,8 +45,8 @@ void main()
|
||||
|
||||
// Compute vertex corner position
|
||||
vec2 position;
|
||||
position.x = (gl_VertexID == 0 || gl_VertexID == 1) ? 1. : 0;
|
||||
position.y = (gl_VertexID == 0 || gl_VertexID == 3) ? 0. : 1;
|
||||
position.x = (gl_VertexID == 0 || gl_VertexID == 1) ? 1. : 0.;
|
||||
position.y = (gl_VertexID == 0 || gl_VertexID == 3) ? 0. : 1.;
|
||||
|
||||
// Position of cell from top-left
|
||||
vec2 cellPosition = cellDim * gridCoords;
|
||||
|
||||
Reference in new issue
Block a user