mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 19:00:59 +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
|
@ -1,3 +1,9 @@
|
|||
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>
|
||||
|
||||
* Headers/AppKit/AppKit.h: Add NSColorSpace.h. This fixes bug #34913.
|
||||
|
|
|
@ -212,9 +212,12 @@ static NSOpenGLPixelFormatAttribute attrs[] =
|
|||
|
||||
- (void) _frameChanged: (NSNotification *) aNot
|
||||
{
|
||||
if (prepared)
|
||||
{
|
||||
[[self openGLContext] makeCurrentContext];
|
||||
[self update];
|
||||
[self reshape];
|
||||
}
|
||||
}
|
||||
|
||||
/* FIXME: this should be done in [lockFocus] or [lockFocusInRect:].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue