[GRASS5] Re: max res. PPM image dump from NVIZ
Glynn Clements
glynn.clements at virgin.net
Sat Aug 28 03:14:45 EDT 2004
Hamish wrote:
> > > X Error of failed request: GLXBadContextTag
> > > Major opcode of failed request: 144 (GLX)
> > > Minor opcode of failed request: 1 (X_GLXRender)
> > > Serial number of failed request: 3736
> > > Current serial number in output stream: 3737
> >
> > I can't reproduce this with 5.3, and I don't have an up-to-date 5.7
> > built right now. Can you see if it happens for you with 5.3?
>
> Happens both with the latest 5.3 and 5.7.
>
> Just after it finishes writting the PPM, the low-res 'grid' is drawn,
> but the southern 10-15% is missing. When you change the view angle you
> are looking at a blank screen, when you finish it redraws the hi-res
> 'polygon' version ok.
>
> -> Resizing the viewing window causes the above error (& crash).
I can't reproduce this.
However try moving the Destroy_OS_Ctx() call in do_zoom.c to *before*
the point where it tries to redraw everything, i.e.:
#if defined(HAVE_PBUFFERS) || defined(HAVE_PIXMAPS)
Destroy_OS_Ctx();
#endif
/* Done */
/* Reset viewport and draw orinanl view */
GS_set_viewport(a_orig, c_orig, b_orig, d_orig);
Ndraw_all_cmd(data, interp, argc, argv);
--
Glynn Clements <glynn.clements at virgin.net>
More information about the grass-dev
mailing list