mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:20:38 +00:00
Add initWithFrame:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17307 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3bc51bd57c
commit
05c4f8fe02
2 changed files with 13 additions and 0 deletions
|
@ -116,6 +116,14 @@
|
|||
return glcontext;
|
||||
}
|
||||
|
||||
|
||||
-(id) initWithFrame: (NSRect)frameRect
|
||||
{
|
||||
return [self initWithFrame: frameRect
|
||||
pixelFormat: [[self class] defaultPixelFormat]];
|
||||
|
||||
}
|
||||
|
||||
/** default initializer. Can be passed [NSOpenGLContext defaultPixelFormat]
|
||||
as second argument
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue