From 3c4d0b6ecdecfd92ffbf7954d1fc3b18ee21586a Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 12 May 2021 13:26:10 +0200 Subject: [PATCH] Add missing type to lowestPrintableHeight variable Otherwise it should theoretically default to int, which is wrong. However with some graphics drivers it just seems to result in a failure to compile and concluding with a crash and crescendo. Fixes #9692. --- resources/shaders/striped.shader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/shaders/striped.shader b/resources/shaders/striped.shader index e83074473d..5c69f0675f 100644 --- a/resources/shaders/striped.shader +++ b/resources/shaders/striped.shader @@ -36,7 +36,7 @@ fragment = uniform mediump float u_width; uniform bool u_vertical_stripes; - uniform lowp u_lowestPrintableHeight; + uniform lowp float u_lowestPrintableHeight; varying highp vec3 v_position; varying highp vec3 v_vertex;