ui/shader: fix #version directive must occur on first line

ANGLE fails to compile shaders otherwise.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Marc-André Lureau 2023-02-14 14:33:47 +04:00
parent 6f2688f776
commit aa34554a99
3 changed files with 0 additions and 3 deletions

View file

@ -1,4 +1,3 @@
#version 300 es
in vec2 in_position;

View file

@ -1,4 +1,3 @@
#version 300 es
uniform sampler2D image;

View file

@ -1,4 +1,3 @@
#version 300 es
in vec2 in_position;