comparison Discovery/Src/gfx_engine.c @ 696:cc542448fb28

Merge
author heinrichsweikamp
date Fri, 19 Aug 2022 11:30:24 +0200
parents 7fa5ef6ae419
children 2c2b9c6eb089
comparison
equal deleted inserted replaced
661:87bee7cc77b3 696:cc542448fb28
2752 char_truncated_WidthFlag = 1; 2752 char_truncated_WidthFlag = 1;
2753 width = width_left; 2753 width = width_left;
2754 } 2754 }
2755 // ----------------------------- 2755 // -----------------------------
2756 char_truncated_Height = 0; 2756 char_truncated_Height = 0;
2757 height_left = hgfx->Image->ImageHeight - (hgfx->WindowY0 + cfg->Ydelta); 2757 if(!pSettings->FlipDisplay)
2758 {
2759 height_left = hgfx->Image->ImageHeight - (hgfx->WindowY0 + cfg->Ydelta);
2760 }
2761 else
2762 {
2763 height_left = (hgfx->WindowY1 - cfg->Ydelta);
2764 }
2758 if(height_left < height) 2765 if(height_left < height)
2759 { 2766 {
2760 char_truncated_Height = height - height_left; 2767 char_truncated_Height = height - height_left;
2761 if((char_truncated_Height & 1) != 0) 2768 if((char_truncated_Height & 1) != 0)
2762 { 2769 {