bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Quartz Display Services and then NSOpenGLPixelFormat


From: Matt Rice
Subject: Re: Quartz Display Services and then NSOpenGLPixelFormat
Date: Tue, 10 Feb 2009 10:01:53 -0800

On Mon, Feb 9, 2009 at 3:42 PM, Julien Isorce <julien.isorce@gmail.com> wrote:
> Hi,
>
> Any "Quartz Display Services" support in GNUstep ?
> (ApplicationServices/ApplicationServices.h,
> http://developer.apple.com/documentation/graphicsimaging/reference/Quartz_Services_Ref/Reference/reference.html)
>
> Then when the following code is executed :
>
> NSOpenGLPixelFormat *fmt;
>   NSOpenGLPixelFormatAttribute attribs[] = {
>     NSOpenGLPFAAccelerated,
>     NSOpenGLPFANoRecovery,
>     NSOpenGLPFADoubleBuffer,
>     NSOpenGLPFAColorSize, 24,
>     NSOpenGLPFAAlphaSize, 8,
>     NSOpenGLPFADepthSize, 24,
>     NSOpenGLPFAWindow,
>     0
>   };
>
>   fmt = [[NSOpenGLPixelFormat alloc]
>       initWithAttributes:attribs];
>
> I got the following error :"File NSOpenGLPixelFormat.m: 59. In
> [NSOpenGLPixelFormat +_classPixelFormat] Backend doesn't have any
> glPixelFormatClass"
>

which backend/platform? it sounds like when your backend was compiled
either WGL or the GL/GLX libraries were not found.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]