mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:30:37 +00:00
More imaging and compositing stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5635 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0d72b6f34d
commit
745d515d38
12 changed files with 142 additions and 21 deletions
|
@ -109,10 +109,17 @@ static NSScreen *mainScreen = nil;
|
|||
else
|
||||
device_desc = [[NSMutableDictionary dictionary] retain];
|
||||
|
||||
if (ctxt == nil)
|
||||
{
|
||||
NSLog(@"Internal error: No current context\n");
|
||||
[self release];
|
||||
return nil;
|
||||
}
|
||||
|
||||
if ([ctxt isDrawingToScreen] == NO)
|
||||
{
|
||||
NSLog(@"Internal error: trying to find screen with wrong context\n");
|
||||
[self dealloc];
|
||||
[self release];
|
||||
return nil;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue