mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
Remove unused dc_destheight
This commit is contained in:
parent
7b578bbb53
commit
bb0a223b80
3 changed files with 0 additions and 5 deletions
|
@ -133,7 +133,6 @@ namespace swrenderer
|
|||
R_InitFuzzTable(pitch);
|
||||
|
||||
dc_destorg = lineptr;
|
||||
dc_destheight = RenderTarget->GetHeight() - viewwindowy;
|
||||
for (int i = 0; i < RenderTarget->GetHeight(); i++)
|
||||
{
|
||||
ylookup[i] = i * pitch;
|
||||
|
|
|
@ -46,7 +46,6 @@ namespace swrenderer
|
|||
angle_t xtoviewangle[MAXWIDTH + 1];
|
||||
|
||||
uint8_t *dc_destorg = nullptr;
|
||||
int dc_destheight = 0;
|
||||
|
||||
private:
|
||||
void InitTextureMapping();
|
||||
|
|
|
@ -204,9 +204,7 @@ void DCanvas::DrawTextureParms(FTexture *img, DrawParms &parms)
|
|||
visible = drawerargs.SetPatchStyle(parms.style, parms.Alpha, 0, parms.fillcolor, basecolormap);
|
||||
|
||||
BYTE *destorgsave = viewport->dc_destorg;
|
||||
int destheightsave = viewport->dc_destheight;
|
||||
viewport->dc_destorg = screen->GetBuffer();
|
||||
viewport->dc_destheight = screen->GetHeight();
|
||||
if (viewport->dc_destorg == NULL)
|
||||
{
|
||||
I_FatalError("Attempt to write to buffer of hardware canvas");
|
||||
|
@ -298,7 +296,6 @@ void DCanvas::DrawTextureParms(FTexture *img, DrawParms &parms)
|
|||
}
|
||||
|
||||
viewport->dc_destorg = destorgsave;
|
||||
viewport->dc_destheight = destheightsave;
|
||||
|
||||
if (ticdup != 0 && menuactive == MENU_Off)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue