diff options
author | M. Stoeckl <manuel.stoeckl93@gmail.com> | 2019-02-03 16:45:09 +0000 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-02-03 16:45:09 +0000 |
commit | 3f0d11381dd72f9ed3db040210293a2f7fa74ea3 (patch) | |
tree | e3347d4e1bb266550979dc0cc03890d1ab83cde7 /res/rect.v.glsl | |
parent | 20f319860908c2fa86bba25bb1e7bf8ba1a464e1 (diff) | |
download | alacritty-3f0d11381dd72f9ed3db040210293a2f7fa74ea3.tar.gz alacritty-3f0d11381dd72f9ed3db040210293a2f7fa74ea3.zip |
Remove unused coordinate from rect shader
Diffstat (limited to 'res/rect.v.glsl')
-rw-r--r-- | res/rect.v.glsl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/res/rect.v.glsl b/res/rect.v.glsl index a353b6b0..8baa74ff 100644 --- a/res/rect.v.glsl +++ b/res/rect.v.glsl @@ -12,14 +12,9 @@ // See the License for the specific language governing permissions and // limitations under the License. #version 330 core -layout (location = 0) in vec3 aPos; - -out vec4 color; - -uniform vec4 col; +layout (location = 0) in vec2 aPos; void main() { - gl_Position = vec4(aPos.x, aPos.y, aPos.z, 1.0); - color = col; + gl_Position = vec4(aPos.x, aPos.y, 0.0, 1.0); } |