• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOpenGL and CW
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSPopUpButton addItemsWithTitles is way slow [solved - sort of]
  • Next by Date: Re: Saving ruler markers to defaults
  • Previous by thread: Re: HotKeys in Cocoa
  • Next by thread: Re: SystemIcons.bundle
  • Index(es):
    • Date
    • Thread