mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:30:37 +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
|
@ -212,9 +212,12 @@ static NSOpenGLPixelFormatAttribute attrs[] =
|
|||
|
||||
- (void) _frameChanged: (NSNotification *) aNot
|
||||
{
|
||||
[[self openGLContext] makeCurrentContext];
|
||||
[self update];
|
||||
[self reshape];
|
||||
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