Hello,
I need some help :
this code is good:
AGLPixelFormat fmt;
AGLContext ctx;
short pDepth = 32;
GLint attrib[] = { AGL_RGBA ,
AGL_DOUBLEBUFFER ,
AGL_ACCELERATED ,
//AGL_FULLSCREEN ,
AGL_PIXEL_SIZE ,
pDepth ,
AGL_NONE };
fmt = aglChoosePixelFormat( NULL , 0 , attrib );
and aglChoosePixelFormat returns a good fmt (without AGL_FULLSCREEN )
but now this code doesnt work
AGLPixelFormat fmt;
AGLContext ctx;
short pDepth = 32;
GLint attrib[] = { AGL_RGBA ,
AGL_DOUBLEBUFFER ,
AGL_ACCELERATED ,
AGL_FULLSCREEN ,
AGL_PIXEL_SIZE ,
pDepth ,
AGL_NONE };
fmt = aglChoosePixelFormat( NULL , 0 , attrib );
and with AGL_FULLSCREEN , aglChoosePixelFormat returns NULL
Thanks for help.