Merge pull request #1035 from mfleisz/iosupdate
iOS: Enable NSCodec, fixed RFX to Win8, resize sanity check
This commit is contained in:
commit
234356e60c
@ -99,8 +99,12 @@ NSString* TSXSessionDidFailToConnectNotification = @"TSXSessionDidFailToConnect"
|
||||
settings->ColorDepth = 32;
|
||||
settings->LargePointerFlag = TRUE;
|
||||
settings->FrameMarkerCommandEnabled = TRUE;
|
||||
settings->FrameAcknowledge = 10;
|
||||
}
|
||||
|
||||
// enable NSCodec
|
||||
settings->NSCodec = TRUE;
|
||||
|
||||
// Performance flags
|
||||
settings->DisableWallpaper = ![_params boolForKey:@"perf_show_desktop" with3GEnabled:connected_via_3g];
|
||||
settings->DisableFullWindowDrag = ![_params boolForKey:@"perf_window_dragging" with3GEnabled:connected_via_3g];
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
- (void)drawRect:(CGRect)rect
|
||||
{
|
||||
if(_session != nil)
|
||||
if(_session != nil && [_session bitmapContext])
|
||||
{
|
||||
CGContextRef context = UIGraphicsGetCurrentContext();
|
||||
CGImageRef cgImage = CGBitmapContextCreateImage([_session bitmapContext]);
|
||||
|
Loading…
Reference in New Issue
Block a user