From 520460669c9a8da122c68a225b23fc6dd28f7992 Mon Sep 17 00:00:00 2001 From: Quantum Date: Wed, 18 Aug 2021 22:24:17 -0400 Subject: [PATCH] [client] egl: set gl_Position.z in cursor vertex shader --- client/renderers/EGL/shader/cursor.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/renderers/EGL/shader/cursor.vert b/client/renderers/EGL/shader/cursor.vert index f4338f69..f1daca30 100644 --- a/client/renderers/EGL/shader/cursor.vert +++ b/client/renderers/EGL/shader/cursor.vert @@ -39,6 +39,6 @@ void main() gl_Position.y = muv.x; } - gl_Position.w = 1.0; + gl_Position.zw = vec2(0.0, 1.0); uv = vertexUV; }