Lumenarium/src_v2/editor/lumenarium_editor_renderer.c

18 lines
383 B
C
Raw Normal View History

2022-04-16 11:00:32 +00:00
internal void
edr_render_begin(App_State* state)
{
Graphics_Frame_Desc desc = {};
2022-05-13 11:45:40 +00:00
desc.clear_color = (v4){ 0.0f, 0.0f, 0.0f, 1 };
2022-04-16 11:00:32 +00:00
desc.viewport_min = (v2){ 0, 0 };
v2 wd = state->editor->window_dim;
v2 cs = state->editor->content_scale;
desc.viewport_max = HMM_MultiplyVec2(wd, cs);
frame_begin(desc);
frame_clear();
}
internal void
edr_render(App_State* state)
{
}