Offscreen rendering

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Fri Aug 27 09:33:00 GMT 2004


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
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list