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:
parent
6f2688f776
commit
aa34554a99
@ -1,4 +1,3 @@
|
||||
|
||||
#version 300 es
|
||||
|
||||
in vec2 in_position;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#version 300 es
|
||||
|
||||
uniform sampler2D image;
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#version 300 es
|
||||
|
||||
in vec2 in_position;
|
||||
|
Loading…
Reference in New Issue
Block a user