|
From: | Clint Smullen |
Subject: | [bug #37799] NSOpenGLView -initWIthCoder does not deserialize the NSPixelFormat |
Date: | Fri, 23 Nov 2012 19:18:30 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11 |
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/
[Prev in Thread] | Current Thread | [Next in Thread] |