Patch by Matt Rice to get OpenGL working again on X11.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27816 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2009-02-08 18:36:25 +00:00
parent 33ccb792b2
commit db2999ee4d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-02-08 Matt Rice <ratmice@gmail.com>
* Source/x11/XGGLContext.m (-[XGXSubWindow initWithView:visualInfo:]):
Use the depth provided by the VisualInfo not the parent window.
2009-02-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/cairo/CairoGState.m (-copyWithZone:): Correction to last

View file

@ -123,7 +123,7 @@
xwindowid = XCreateWindow(win_info->display, win_info->ident,
x, y, width, height, 0,
CopyFromParent, InputOutput, xVisualInfo->visual,
xVisualInfo->depth, InputOutput, xVisualInfo->visual,
mask, &window_attributes);
XMapWindow(win_info->display, xwindowid);