formatting
This commit is contained in:
parent
1d569d293c
commit
f7b450d6be
@ -2113,8 +2113,8 @@ void UpdateUser(P_Window *window)
|
|||||||
text.len += PushString(temp.arena, Lit("\n")).len;
|
text.len += PushString(temp.arena, Lit("\n")).len;
|
||||||
text.len += StringFormat(temp.arena, Lit("Debug steps: %F"), FmtUint(GetGstat(GSTAT_DEBUG_STEPS))).len;
|
text.len += StringFormat(temp.arena, Lit("Debug steps: %F"), FmtUint(GetGstat(GSTAT_DEBUG_STEPS))).len;
|
||||||
//text.len += PushString(temp.arena, Lit("\n")).len;
|
//text.len += PushString(temp.arena, Lit("\n")).len;
|
||||||
#endif
|
|
||||||
|
|
||||||
|
#endif
|
||||||
//draw_text(g->render_sig, font, pos, StringFormat(temp.arena, Lit("blended world entities: %F/%F"), FmtUint(g->ss_blended->num_ents_allocated), FmtUint(g->ss_blended->num_ents_reserved)));
|
//draw_text(g->render_sig, font, pos, StringFormat(temp.arena, Lit("blended world entities: %F/%F"), FmtUint(g->ss_blended->num_ents_allocated), FmtUint(g->ss_blended->num_ents_reserved)));
|
||||||
//draw_text(g->render_sig, font, pos, text);
|
//draw_text(g->render_sig, font, pos, text);
|
||||||
|
|
||||||
@ -2147,6 +2147,7 @@ void UpdateUser(P_Window *window)
|
|||||||
__profn("Render");
|
__profn("Render");
|
||||||
Rect ui_viewport = RectFromVec2(VEC2(0, 0), VEC2(g->ui_size.x, g->ui_size.y));
|
Rect ui_viewport = RectFromVec2(VEC2(0, 0), VEC2(g->ui_size.x, g->ui_size.y));
|
||||||
Rect render_viewport = RectFromVec2(VEC2(0, 0), VEC2(g->render_size.x, g->render_size.y));
|
Rect render_viewport = RectFromVec2(VEC2(0, 0), VEC2(g->render_size.x, g->render_size.y));
|
||||||
|
|
||||||
/* Acquire gbuffers */
|
/* Acquire gbuffers */
|
||||||
if (g->shade_target && !EqVec2I32(g->render_size, GT_GetTextureSize(g->shade_target)))
|
if (g->shade_target && !EqVec2I32(g->render_size, GT_GetTextureSize(g->shade_target)))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user