summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/r_draw.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/r_draw.c')
-rw-r--r--apps/plugins/doom/r_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/doom/r_draw.c b/apps/plugins/doom/r_draw.c
index b6d84f0dff..a6bc21e420 100644
--- a/apps/plugins/doom/r_draw.c
+++ b/apps/plugins/doom/r_draw.c
@@ -573,7 +573,7 @@ void R_InitBuffer(int width, int height)
573 573
574 viewwindowy = width==SCREENWIDTH ? 0 : (SCREENHEIGHT-(ST_SCALED_HEIGHT-1)-height)>>1; 574 viewwindowy = width==SCREENWIDTH ? 0 : (SCREENHEIGHT-(ST_SCALED_HEIGHT-1)-height)>>1;
575 575
576 topleft = screens[0] + viewwindowy*SCREENWIDTH + viewwindowx; 576 topleft = d_screens[0] + viewwindowy*SCREENWIDTH + viewwindowx;
577 577
578 // Preclaculate all row offsets. 578 // Preclaculate all row offsets.
579 // CPhipps - merge viewwindowx into here 579 // CPhipps - merge viewwindowx into here
@@ -627,7 +627,7 @@ void R_FillBackScreen (void)
627 627
628void R_VideoErase(unsigned ofs, int count) 628void R_VideoErase(unsigned ofs, int count)
629{ 629{
630 memcpy(screens[0]+ofs, screens[1]+ofs, count); // LFB copy. 630 memcpy(d_screens[0]+ofs, d_screens[1]+ofs, count); // LFB copy.
631} 631}
632 632
633// 633//