From 05f98c73466ccf99b83c9d270e89ac259c205e75 Mon Sep 17 00:00:00 2001 From: Julien Isorce Date: Sat, 24 May 2008 12:35:34 +0000 Subject: [PATCH] [080/906] fix gstfreeglut linux implementation to correctly handle the gstxoverlay interface git-svn-id: svn://svn.wobow.com/GStreamer_playground/gst-plugins-gl@486 93df14bb-0f41-7a43-8087-d3e2a2f0e464 --- gst-libs/gst/gl/gstgldisplay.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/gstgldisplay.c b/gst-libs/gst/gl/gstgldisplay.c index 793df5c80e..a48e0bf58e 100644 --- a/gst-libs/gst/gl/gstgldisplay.c +++ b/gst-libs/gst/gl/gstgldisplay.c @@ -189,8 +189,8 @@ gst_gl_display_init (GstGLDisplay *display, GstGLDisplayClass *klass) "void main(void) {\n" " float r,g,b,y,u,v;\n" " vec2 nxy=gl_TexCoord[0].xy;\n" - " y=texture2DRect(Ytex,nxy*0.5).r;\n" - " u=texture2DRect(Utex,nxy).r;\n" + " y=texture2DRect(Ytex,nxy).r;\n" + " u=texture2DRect(Utex,nxy*0.5).r;\n" " v=texture2DRect(Vtex,nxy*0.5).r;\n" " y=1.1643*(y-0.0625);\n" " u=u-0.5;\n"