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:
Simon Hausmann 2023-06-28 14:36:28 +02:00
parent 4ab19f3011
commit c8185a9927
2 changed files with 2 additions and 2 deletions

View file

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