Cocoa Port:

- Fix errors in the OpenGLDisplayView's NSOpenGLPixelFormat attributes (NSOpenGLPFADepthSize=16, NSOpenGLPFADoubleBuffer=false).
- Fix a bug with the OpenGLDisplayView's init method.
- These changes fix the graphics display of the main window in OS X v10.8 Mountain Lion.
This commit is contained in:
rogerman 2012-08-03 06:54:57 +00:00
parent 54538f155d
commit 78e34d98f1
2 changed files with 7 additions and 5 deletions

View File

@ -12,6 +12,7 @@
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="372"/>
<integer value="608"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
@ -5095,7 +5096,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<string key="NSWindowContentMaxSize">{1.79769e+308, 1.79769e+308}</string>
<string key="NSWindowContentMinSize">{256, 408}</string>
<object class="NSView" key="NSWindowView" id="439893737">
<nil key="NSNextResponder"/>
<reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
@ -5108,7 +5109,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
<bool key="NSViewCanDrawConcurrently">YES</bool>
<object class="NSOpenGLPixelFormat" key="NSPixelFormat">
<object class="NSMutableData" key="NSPixelAttributes">
<bytes key="NS.bytes">AAAABQAAAAgAAAAPAAAACwAAAAEAAAAMAAAAGAAAAAA</bytes>
<bytes key="NS.bytes">AAAACAAAAA8AAAALAAAAAQAAAAwAAAAQAAAAAA</bytes>
</object>
</object>
</object>
@ -5197,6 +5198,7 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
</object>
<string key="NSFrameSize">{256, 408}</string>
<reference key="NSSuperview"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1920, 1178}}</string>
<string key="NSMinSize">{256, 476}</string>
@ -41490,9 +41492,9 @@ AAMAAAABAAEAAAFTAAMAAAAEAAAFwgAAAAAACAAIAAgACAABAAEAAQABA</bytes>
</object>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{1244, 702}, {256, 408}}</string>
<string>{{1019, 562}, {256, 408}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{1244, 702}, {256, 408}}</string>
<string>{{1019, 562}, {256, 408}}</string>
<integer value="1"/>
<string>{{33, 99}, {480, 360}}</string>
<boolean value="YES"/>

View File

@ -750,7 +750,7 @@
- (id)initWithCoder:(NSCoder *)aDecoder
{
self = [super init];
self = [super initWithCoder:aDecoder];
if (self == nil)
{
return self;