pass colormap instead of wrong "InputOutput" to vo_x11_create_vo_window()
fixes xmga brokenness from r23675


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23842 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
attila 2007-07-22 18:27:26 +00:00
parent a57509942b
commit 13f9b12dde
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
} 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)

View File

@ -302,7 +302,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
{
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);
}