mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 17:32:03 +00:00
Commit OpenGL patch by Julian Mayer <julian@corecode.at>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34226 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a1648b4e3
commit
906908d0a2
2 changed files with 14 additions and 5 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,10 +1,16 @@
|
||||||
|
2011-11-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSOpenGLView.m (-_frameChanged:): Don't send -reshape
|
||||||
|
before -prepareOpenGL.
|
||||||
|
Patch by Julian Mayer <julian@corecode.at>.
|
||||||
|
|
||||||
2011-11-28 Fred Kiefer <FredKiefer@gmx.de>
|
2011-11-28 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Headers/AppKit/AppKit.h: Add NSColorSpace.h. This fixes bug #34913.
|
* Headers/AppKit/AppKit.h: Add NSColorSpace.h. This fixes bug #34913.
|
||||||
|
|
||||||
2011-11-28 Gregory Casamento <greg.casamento@gmail.com>
|
2011-11-28 Gregory Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
* Source/NSTextView.m: Add code to set the default
|
* Source/NSTextView.m: Add code to set the default
|
||||||
of 5.0 in the -buildUpTextNetwork method.
|
of 5.0 in the -buildUpTextNetwork method.
|
||||||
* Source/NSTextContainer.m: In -lineFragmentForProposedRect:...
|
* Source/NSTextContainer.m: In -lineFragmentForProposedRect:...
|
||||||
add _lineFragmentPadding to min and subtract from max to
|
add _lineFragmentPadding to min and subtract from max to
|
||||||
|
|
|
@ -212,9 +212,12 @@ static NSOpenGLPixelFormatAttribute attrs[] =
|
||||||
|
|
||||||
- (void) _frameChanged: (NSNotification *) aNot
|
- (void) _frameChanged: (NSNotification *) aNot
|
||||||
{
|
{
|
||||||
[[self openGLContext] makeCurrentContext];
|
if (prepared)
|
||||||
[self update];
|
{
|
||||||
[self reshape];
|
[[self openGLContext] makeCurrentContext];
|
||||||
|
[self update];
|
||||||
|
[self reshape];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME: this should be done in [lockFocus] or [lockFocusInRect:].
|
/* FIXME: this should be done in [lockFocus] or [lockFocusInRect:].
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue