URL:
<http://savannah.gnu.org/bugs/?37799>
Summary: NSOpenGLView -initWIthCoder does not deserialize the
NSPixelFormat
Project: GNUstep
Submitted by: daemonae
Submitted on: Fri 23 Nov 2012 07:18:29 PM GMT
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
A NSOpenGLView present in a NIB cannot be used immediately due to the missing
pixel format (this technique works fine under OSX).
I have implemented a fix which has NSOpenGLPixelFormat properly declare its
implementation of NSCoder and implement the necessary methods, marshaling the
attribute data before it is handed to the backend via initWithAttributes.
I tested under Ubuntu 12.10 using GNUstep locally built with Clang 3.1 using
an Xcode 4.5 generated XIB.
https://github.com/Daemonae/gnustep-gui/commit/c61b143b08d67c119a11bd4800ec14488f1b1c8a
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 23 Nov 2012 07:18:29 PM GMT Name:
0001-Add-and-use-NSCoder-in-NSOpenGLPixelFormat.patch Size: 3kB By:
daemonae
<http://savannah.gnu.org/bugs/download.php?file_id=26964>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37799>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep