Re: NSOpenGL and CW
Re: NSOpenGL and CW
- Subject: Re: NSOpenGL and CW
- From: Mendel Kucharzeck <email@hidden>
- Date: Mon, 19 Aug 2002 22:50:18 +0200
I converted the Project "Cocoa InitGL" from the Apple Samples page to CW and
it failes exactly in the same line!
>
I have a problem choosing a NSOpenGLPixelFormat from Codewarrior. It always
>
returns nil, no matter what attributes I am using!
>
>
the code :
>
>
NSOpenGLPixelFormatAttribute nsglFormat;
>
NSOpenGLPixelFormatAttribute attr[32];
>
>
attr[0]=<something, does not matter what!>
>
.
>
.
>
.
>
attr[12]=0;
>
>
nsglFormat = [[NSOpenGLPixelFormat alloc] initWithAttributes:attr];
>
>
Then nsglFormat is always nil! It works in ProjectBuilder, but not in CW8.1.
>
>
Mendel.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.