- 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

View file

@ -24,6 +24,7 @@
#include "templates.h" #include "templates.h"
#include "doomdef.h" #include "doomdef.h"
#include "sbar.h" #include "sbar.h"
#include "st_stuff.h"
#include "r_data/r_translate.h" #include "r_data/r_translate.h"
#include "r_data/r_interpolate.h" #include "r_data/r_interpolate.h"
#include "poly_renderer.h" #include "poly_renderer.h"
@ -60,7 +61,7 @@ void PolyRenderer::RenderView(player_t *player)
int width = SCREENWIDTH; int width = SCREENWIDTH;
int height = SCREENHEIGHT; int height = SCREENHEIGHT;
int stHeight = ST_Y; int stHeight = gST_Y;
float trueratio; float trueratio;
ActiveRatio(width, height, &trueratio); ActiveRatio(width, height, &trueratio);
RenderViewport::Instance()->SetViewport(width, height, trueratio); RenderViewport::Instance()->SetViewport(width, height, trueratio);