@@ -569,19 +569,10 @@ void R_FillBackScreen (void)
569
569
return ;
570
570
}
571
571
572
- if (V_IsOpenGLMode ())
573
- V_FillFlat (grnrock .lumpnum , 1 , 0 , stbar_top , SCREENWIDTH , ST_SCALED_HEIGHT , VPT_STRETCH );
572
+ if (V_IsOpenGLMode ()) // OpenGL has no way to adjust y-offset independent from height
573
+ V_FillFlat (grnrock .lumpnum , 1 , 0 , 0 , SCREENWIDTH , SCREENHEIGHT , VPT_STRETCH );
574
574
else
575
- {
576
- V_FillFlat (grnrock .lumpnum , 1 ,
577
- 0 , stbar_top , ST_SCALED_OFFSETX , ST_SCALED_HEIGHT , VPT_STRETCH );
578
- V_FillFlat (grnrock .lumpnum , 1 ,
579
- SCREENWIDTH - ST_SCALED_OFFSETX , stbar_top , ST_SCALED_OFFSETX , ST_SCALED_HEIGHT , VPT_STRETCH );
580
-
581
- // For custom huds, need to put the backfill inside the bar area (in the copy buffer)
582
- V_FillFlat (grnrock .lumpnum , 0 ,
583
- ST_SCALED_OFFSETX , stbar_top , SCREENWIDTH - 2 * ST_SCALED_OFFSETX , ST_SCALED_HEIGHT , VPT_STRETCH );
584
- }
575
+ V_FillFlat (grnrock .lumpnum , 1 , 0 , stbar_top , SCREENWIDTH , ST_SCALED_HEIGHT , VPT_STRETCH );
585
576
586
577
// heretic_note: I think this looks bad, so I'm skipping it...
587
578
if (!heretic )
0 commit comments