From: Alan W. I. <ai...@us...> - 2002-09-11 18:36:25
|
Update of /cvsroot/plplot/plplot/drivers In directory usw-pr-cvs1:/tmp/cvs-serv21244 Modified Files: gd.c Log Message: The previous code attempted as part of the cmap0 initialization to also initialize the GD colour palette when the GD image did not exist yet for the page. This caused a segfault. The fix here is to temporarily manipulate plsc->level during the cmap0 initialization to stop the initialization of the GD colour palette. The resulting plots look good for all examples so long as -drvopt text,smooth,24bit mode is used. The 24-bit requirement will be dropped soon according to Andrew. |