Closed
Bug 753854
Opened 13 years ago
Closed 13 years ago
-[NSOpenGLPixelFormat initWithAttributes] should be passed a 0 terminated array
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: zpao, Assigned: zpao)
Details
Attachments
(1 file)
1.11 KB,
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
This may be a 10.8/clang only issue, but when I tried to build yesterday, I got an error when casting nil to NSOpenGLPixelFormatAttribute (aka unsigned int). That's being used to terminate the array of attributes.
According to the docs, -[NSOpenGLPixelFormat initWithAttributes] expects a 0 terminated array which we aren't explicitly doing in a couple cases - instead we're casting nil.
We do end up doing this correctly later in GLContextProviderCGL.mm
Attachment #622768 -
Flags: review?(joe)
Updated•13 years ago
|
Attachment #622768 -
Flags: review?(joe) → review+
Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → paul
Target Milestone: --- → mozilla15
Comment 2•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•