changeset 23822:82ea0d19d0f5

10l pass colormap instead of wrong "InputOutput" to vo_x11_create_vo_window() fixes xmga brokenness from r23675
author attila
date Sun, 22 Jul 2007 18:27:26 +0000
parents 46b21d6fb61d
children 513293585949
files libvo/vo_xmga.c libvo/vo_xover.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_xmga.c	Sun Jul 22 16:24:25 2007 +0000
+++ b/libvo/vo_xmga.c	Sun Jul 22 18:27:26 2007 +0000
@@ -220,7 +220,7 @@
         } else
         {
             vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy, d_width, d_height,
-                    flags, InputOutput, "xmga", title);
+                    flags, xWAttribs.colormap, "xmga", title);
         }
 
         if (vo_gc != None)
--- a/libvo/vo_xover.c	Sun Jul 22 16:24:25 2007 +0000
+++ b/libvo/vo_xover.c	Sun Jul 22 18:27:26 2007 +0000
@@ -302,7 +302,7 @@
 	{
 	    vo_x11_create_vo_window(&vinfo, vo_dx, vo_dy,
                   window_width, window_height, flags,
-	          InputOutput, "xvidix", title);
+	          xswa.colormap, "xvidix", title);
 	    XChangeWindowAttributes(mDisplay, vo_window, xswamask, &xswa);
 	}