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.
This commit is contained in:
Ghostkeeper 2021-05-12 13:26:10 +02:00
parent 1cab9cb567
commit 3c4d0b6ecd
No known key found for this signature in database
GPG key ID: D2A8871EE34EC59A

View file

@ -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;