mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-28 14:24:12 +00:00
Fix rendering OpenGL texture import example with some GL drivers
Require high floating point precision for the texture import example
This commit is contained in:
parent
4ab19f3011
commit
c8185a9927
2 changed files with 2 additions and 2 deletions
|
@ -175,7 +175,7 @@ private:
|
|||
|
||||
const GLchar *const fragment_shader =
|
||||
R"(#version 100
|
||||
precision mediump float;
|
||||
precision highp float;
|
||||
varying vec2 frag_position;
|
||||
uniform vec3 selected_light_color;
|
||||
uniform float iTime;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue