Hi, Thanks for replay. I'm testing with xorg-x11-xwin-6.7.0.0-12 with 24bit color depth.
JSKT40 [~/work/glut] % ./test4.exe vi = 0x100e5060, depth = 24 Visp = 0x100e5600, depth = 24 XPix = 0x200001 GPix = 0x200002 cx = 0x100e5798 Ctxt = 0x101261e8 Kei Okada ----- Original Message ----- From: "Alexander Gottwald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, August 27, 2004 6:33 PM Subject: Re: Offscreen rendering > On Fri, 27 Aug 2004, Kei Okada wrote: > > > Hi, > > > > I have a Cygwin/X installed on a XP and try to use a offscreen rendering > > function. > > > > Attached sample program works well on a Linux X server (Xfree 4.3.0), > > but it does not works on a Cygwin/X both XWin and XWin_GL. > > > > When I use XWin_GL, the program crashes at the first > > glXMakeCurrent(dp, GPix, Ctxt) with the message like > > > > change current > > X Error of failed request: GLXBadContext > > Major opcode of failed request: 146 (GLX) > > Minor opcode of failed request: 5 (X_GLXMakeCurrent) > > Serial number of failed request: 1143 > > Current serial number in output stream: 114 > > > > and When I use XWin, the X server crashes at the second > > glXMakeCurrent(dpy, glwin, cx). > > > > Messages on the shell invoking the sample program are > > I've tested it with xorg-x11-6.7.99.902 and the program failed with the second > ChooseVisual. I've have my system running in 16bit color depth. Maybe this > has an effect too. What colordepth is your system running on? > > bye > ago > -- > [EMAIL PROTECTED] > http://www.gotti.org ICQ: 126018723 > >