ad8891ab3211769040d30ed1c68583cb46d7ab8a braney Thu Jul 1 12:00:48 2010 -0700 make 32-bit PNG the default, use painter's algorithm for mRNA track diff --git src/hg/hgTracks/cds.c src/hg/hgTracks/cds.c index 3f8f27c..6d2eed4 100644 --- src/hg/hgTracks/cds.c +++ src/hg/hgTracks/cds.c @@ -1496,7 +1496,14 @@ { if (mrnaCodon != genomicCodon[0] && protEquivalent(genomicCodon[0], mrnaCodon)) color = cdsColor[CDS_SYN_PROT]; +#ifdef COLOR32 + /* this was a call to drawScaledBoxBlend, but this breaks under + * 32-bit color, so for the moment we're going to depend + * on the painter's algorithm */ + drawScaledBox(hvg, s, e, scale, xOff, y, heightPer, color); +#else drawScaledBoxBlend(hvg, s, e, scale, xOff, y, heightPer, color); +#endif } } else