mirror of
https://github.com/david-schmidt/gsport.git
synced 2024-11-16 06:06:56 +00:00
Slight tweak to pixel resize function for low resolution output.
This commit is contained in:
parent
05e6b4c389
commit
753d907315
@ -1508,7 +1508,7 @@ void Imagewriter::printBitGraph(Bit8u ch)
|
||||
Bitu pixsizeY=1;
|
||||
if(bitGraph.adjacent) {
|
||||
pixsizeX = dpi/bitGraph.horizDens > 0? dpi/bitGraph.horizDens : 1;
|
||||
if(dpi%bitGraph.horizDens)
|
||||
if(dpi%bitGraph.horizDens && bitGraph.horizDens < dpi)
|
||||
{
|
||||
if(PIXX%(bitGraph.horizDens*8) || (PIXX == 0)) //Primative scaling function
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user