GRASS GIS wrote:
> #104: saving display to tiff or ppm garbled when NVIZ is not top window
> ----------------------+-----------------------------------------------------
> Reporter: dylan | Owner: [email protected]
> Type: defect | Status: new
> Priority: minor | Milestone: 6.4.0
> Component: default | Version: svn-trunk
> Resolution: | Keywords: NVIZ openGL
> ----------------------+-----------------------------------------------------
> Comment (by msieczka):
>
> Glynn wrote:
>
> > Could you debug this?
>
> Here's debug output:
Could you repeat this, printing the values of variables as they are
assigned, i.e.:
> 319 vi = glXChooseVisual(dpy, scr, att);
> (gdb) next
> 320 if (vi == NULL) {
print *vi
> (gdb) next
> 325 ctx = glXCreateContext(dpy, vi, NULL, GL_FALSE);
> (gdb) next
> 326 if (ctx == NULL) {
print /x ctx
> (gdb) next
> 331 pixmap =
> (gdb) next
> 334 if (!pixmap) {
print /x pixmap
> (gdb) next
> 338 glxpixmap = glXCreateGLXPixmap(dpy, vi, pixmap);
> (gdb) next
> 339 if (!glxpixmap) {
print /x glxpixmap
The first one (*vi) is potentially the most significant.
--
Glynn Clements <[EMAIL PROTECTED]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev