clients/simple-dmabuf-feedback: Remove unsupported f suffixes
NVIDIA is more pedantic than Mesa and correctly complains that `1.0f` is not valid syntax in the OpenGL ES Shading Language version 1.00. And we are indeed using SL version 1.00 by virtue of using an ES 2.0 context. So use the syntax compatible with the context we've created. Signed-off-by: Daniel van Vugt <daniel.van.vugt@canonical.com>
This commit is contained in:
parent
141943eb76
commit
183d92e291
|
@ -71,7 +71,7 @@ static const char *vert_shader_text =
|
|||
" // We need to render upside-down, because rendering through an\n"
|
||||
" // FBO causes the bottom of the image to be written to the top\n"
|
||||
" // pixel row of the buffer, y-flipping the image.\n"
|
||||
" gl_Position = vec4(1.0, -1.0f, 1.0f, 1.0f) * pos;\n"
|
||||
" gl_Position = vec4(1.0, -1.0, 1.0, 1.0) * pos;\n"
|
||||
" v_color = color;\n"
|
||||
"}\n";
|
||||
|
||||
|
|
Loading…
Reference in New Issue