Changes between Version 1 and Version 2 of Ticket #3606, comment 5


Ignore:
Timestamp:
Jul 15, 2018, 3:45:27 PM (3 years ago)
Author:
hcho
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3606, comment 5

    v1 v2  
    4141}}}
    4242
    43 In your case, GS_set_draw(GSD_BACK) never worked. That's weird. Please add {{{fprintf(stderr, "draw where: %d\n", where);}}} in line 2465 in lib/ogsf/gs2.c. GSD_FRONT 1, GSD_BACK 2, and GSD_BOTH 3 are defined in include/ogsf.h. There are 10 calls to GS_set_draw with all these numbers in lib/nviz/draw.c, but you only got GSD_BOTH 3.
     43In your case, GS_set_draw(GSD_BACK) never worked. That's weird. Please add {{{fprintf(stderr, "draw where: %d\n", where);}}} in line 2465 in lib/ogsf/gs2.c. GSD_FRONT 1, GSD_BACK 2, and GSD_BOTH 3 are defined in include/ogsf.h. There are 10 calls to GS_set_draw with all these numbers in lib/nviz/draw.c, but you only got GSD_BOTH 3. Even in that case, swapping shouldn't affect anything in the front buffer because you draw to both buffers anyway.
    4444
    4545Anyway, I think you need X11 support because Nviz requires some Xlib functions (XOpenDisplay, XCreatePixmap, XFree, ...) in lib/nviz/render.c. Please try it again with X11 support enabled. Is there any specific reason why you disabled it?