bug-gnustep
[Top][All Lists]
Advanced

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

Quartz Display Services and then NSOpenGLPixelFormat


From: Julien Isorce
Subject: Quartz Display Services and then NSOpenGLPixelFormat
Date: Tue, 10 Feb 2009 00:42:28 +0100

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"

Maybe something is missing in my GNUmakefile:

include $(GNUSTEP_MAKEFILES)/common.make

LIBRARY_NAME = mylib
libgstosxvideosink_OBJC_FILES = source.m
ADDITIONAL_INCLUDE_DIRS += 
 
ADDITIONAL_LIB_DIRS +=
 
ADDITIONAL_CFLAGS +=

include $(GNUSTEP_MAKEFILES)/library.make

Sincerely

Julien

reply via email to

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