mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-29 07:22:05 +00:00
- fixed compile error with status bar code in poly renderer.
This commit is contained in:
parent
410a1aa24c
commit
07409f4997
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "templates.h"
|
||||
#include "doomdef.h"
|
||||
#include "sbar.h"
|
||||
#include "st_stuff.h"
|
||||
#include "r_data/r_translate.h"
|
||||
#include "r_data/r_interpolate.h"
|
||||
#include "poly_renderer.h"
|
||||
|
@ -60,7 +61,7 @@ void PolyRenderer::RenderView(player_t *player)
|
|||
|
||||
int width = SCREENWIDTH;
|
||||
int height = SCREENHEIGHT;
|
||||
int stHeight = ST_Y;
|
||||
int stHeight = gST_Y;
|
||||
float trueratio;
|
||||
ActiveRatio(width, height, &trueratio);
|
||||
RenderViewport::Instance()->SetViewport(width, height, trueratio);
|
||||
|
|
Loading…
Reference in a new issue