- fixed compile error with status bar code in poly renderer.

This commit is contained in:
Rachael Alexanderson 2017-01-21 01:20:24 -05:00
parent 410a1aa24c
commit 07409f4997
1 changed files with 2 additions and 1 deletions

View File

@ -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);