#3606: m.nviz.image produces a screenshot
-----------------------+-------------------------
  Reporter:  epifanio  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:
 Component:  Display   |    Version:  svn-trunk
Resolution:            |   Keywords:
       CPU:  x86-64    |   Platform:  Linux
-----------------------+-------------------------

Comment (by hcho):

 Replying to [comment:12 epifanio]:
 > forgot to say, ... Thanks for your help!!!

 You're welcome and thanks for testing, but it only solves your specific
 problem. I still don't understand why drawing to the back buffer and
 swapping it to the front doesn't work for you. Could you please try one
 more thing?

 1. Change line 223 in lib/nviz/draw.c to {{{GS_set_draw(GSD_BOTH);}}}
 2. Uncomment line 480 {{{glXSwapBuffers}}} in lib/ogsf/gsd_prim.c

 So the only different from trunk is {{{GS_set_draw(GSD_BOTH);}}} vs
 {{{GS_set_draw(GSD_BACK);}}}.

 Thanks.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3606#comment:13>
GRASS GIS <https://grass.osgeo.org>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to