[spice-gtk PATCH v1] EGL: Update shader version to 330

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since spice-widget-egl already requires Opengl 3.3,
change shader version from 130 (OGL3.0) to 330 (OGL3.3)

This change enables more advanced features in OpenGL shaders.
---
 src/spice-widget-egl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/spice-widget-egl.c b/src/spice-widget-egl.c
index 0698af3..2b34271 100644
--- a/src/spice-widget-egl.c
+++ b/src/spice-widget-egl.c
@@ -37,7 +37,7 @@
 
 static const char *spice_egl_vertex_src =       \
 "                                               \
-  #version 130\n                                \
+  #version 330\n                                \
                                                 \
   in vec4 position;                             \
   in vec2 texcoords;                            \
@@ -53,7 +53,7 @@ static const char *spice_egl_vertex_src =       \
 
 static const char *spice_egl_fragment_src =     \
 "                                               \
-  #version 130\n                                \
+  #version 330\n                                \
                                                 \
   in vec2 tcoords;                              \
   out vec4 fragmentColor;                       \
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]