mirror of
https://github.com/gnustep/libs-back.git
synced 2025-04-22 23:42:16 +00:00
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:
parent
33ccb792b2
commit
db2999ee4d
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue